Autopopulate Contact field when the Account is selected.
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 10:28 PM - edited 12-13-2023 11:55 PM
My code wont work or i missing something? please need help.
Contact is reference field
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var selectedAccount = g_form.getValue('account');
if (selectedAccount == 'Microsoft' ){
g_form.setValue('contact', 'Microsoft Service Desk');
}
//Type appropriate comment here, and begin script below
}
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:00 AM
Please share screenshot of your script and form.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:09 AM
Hello @Community Alums
I already configured the problem thanks for support.