- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2018 02:53 PM
As part of building a UI policy script I need to check if a field is empty. I've tried all sorts of variations on the theme of
if (g_form.u_my_field.nil() )
No matter how I configure it, appending the .nil() creates an error in the script. Is there a different function for client side scripts?
Thanks for any suggestions.
John
:{)
Helpful and Correct tags are appreciated and help others to find information faster
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2018 03:32 PM
You can to check using below condition
if (g_form.getValue('fieldname')=='')
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2018 03:32 PM
You can to check using below condition
if (g_form.getValue('fieldname')=='')
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2018 09:22 AM
Thank you Sanjiv, that's exactly what I was looking for.
:{)
Helpful and Correct tags are appreciated and help others to find information faster