- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 11:34 AM
I see there is a GlideForm method of getBooleanValue(String fieldName) but no method to set the value.
Is there something like setValue(String fieldName, String value) for booleans?
--Ralph
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 11:41 AM
Hi Ralph,
In client Script, you can use
g_form.setValue('field_name',true);// set boolean field value true
Hope this helps!
Please mark the reply as Helpful/Correct, if applicable.
Regards,
Hemant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 11:41 AM
Hi Ralph,
In client Script, you can use
g_form.setValue('field_name',true);// set boolean field value true
Hope this helps!
Please mark the reply as Helpful/Correct, if applicable.
Regards,
Hemant

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 11:44 AM
Hi Ralph,
To set the boolean value you should use g_form.setValue('fieldname',true); //true or false as you mentioned.
-Pradeep Sharma