- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2017 06:19 AM
Seems like a rudimentary question. I am writing an onSubmit client script. I want it to say something like if choice_1 is --None-- set order_1 to xxx. What is the value behind --None-- that I can use in my script? I've tried null, Null, NULL, none, None, --None--, -- None --. I have tried reading both the value and the displayValue and I can't seem to get the right one.
Any help would be sincerely appreciated. Thanks in advance!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2017 06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2017 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2017 06:29 AM
Hi Alex,
you can try with empty i mean '' instead of none etc..
g_form.getValue('field name ' == '')
you can proceed with your coding..