Discussions
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"