Check mandatory fields on the form.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi Everyone,
I have one field on WO form, based on some conditions (conditions are quite critical) it becomes mandatory otherwise is non mandatory.
I have one server side UI Action where I need to check if the field is mandatory or not right now. How can i do that?
In client side, I can use g_form.isMandatory('u_scr_author'). What is equivalent of isMandatory on server side UI action.
Thanks in advance
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
48m ago
you can't check this on server side.
Why not make that UI action client + server both?
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
