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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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