Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 10:07 PM
Hi Team ,
We need help in the script .
Contact has to show like contact's
This is my script
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('description_1', 'Please include the primary contacts email address or other contact details here, and include funding allocation if known.');
}
How to update . Please let me know .
If i update like this means , showing error
Thanks in advance
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 10:13 PM
Hi @nameisnani
Put it in double quotes like below
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('description_1', "Please include the primary contact's email address or other contact details here, and include funding allocation if known.");
}
Vishal Birajdar
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 10:13 PM
Hi @nameisnani
Put it in double quotes like below
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('description_1', "Please include the primary contact's email address or other contact details here, and include funding allocation if known.");
}
Vishal Birajdar
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates