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
Set default value for a custom field in a popup
Hello,
I have built a custom form based on a custom record type. Two of the fields in the form are list/record fields that refer to another custom record type. I would like to use a script to set a default value for a field in the sub record based on the field where the user started their entry.
Example:
Main Record has fields
- Primary Contact
- Backup Contact
Both fields are List/Record type with the list referring to Sub Record.
Sub Record has fields
- Contact Name
- Custom Contact Type - which has values "Primary Contact" and "Backup Contact"
0