Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
How to update a Suitelet field display type upon field changed event?
Hi, I wish to update a Suitelet field display type upon field changed event, but cannot find a way to do it.
Use case is: I have a Suitelet with a select field and I have populated the field options with contact records (id and name as the option value and text). An additional field select option with text of "Create new contact" has been added.
In addition to this select field I also have 3 free text fields which are disabled by default. If a user chooses a contact record in the select field, I populate the text fields with the contact name, email address and phone number. However, if the user chooses "Create new contact" I want to set the free text fields to NORMAL so that the user can enter the name, email and phone number for the new contact. Upon submit of the Suitelet, a new contact is to be created. So the trigger is a client field changed event.