Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
serverWidget.updateFieldDisplayType in beforeLoad
Has anyone tried to update a field's display type in a beforeLoad user event script? To give the full picture of what im trying to do... I've created a sublist on an event form to display search results based off of the customer. I've got everything working correctly except for inline editing on the sublist. The documentation gives me this example to update the display type of the field...
var form = serverWidget.createForm({ title : 'Simple Form' }); var field = form.addField({ id : 'textfield', type : serverWidget.FieldType.TEXT, label : 'Text' }); field.updateDisplayType({ displayType = serverWidget.FieldDisplayType.HIDDEN // Yes the '=' is in the documentation }); 0