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.
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