- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2018 09:45 AM
How can I enforce mandatory field check in a client-side UI action?
I've tried putting 'g_form.checkMandatory = true;'
inside my function that is called on click and I want a check just like 'Save' UI Action, it should not allow further action if mandatory fields are not filled.
Thanks in advance!
Rishi
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2018 07:05 AM
There is one way to do this using below client side ui action :
if(g_form.mandatoryCheck() == true)
{
return false;
}
else return true;
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2018 02:51 AM
I've already mentioned this to you in the previous response.
Thanks for your efforts though!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2018 07:05 AM
There is one way to do this using below client side ui action :
if(g_form.mandatoryCheck() == true)
{
return false;
}
else return true;
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2018 02:30 AM
Thank you, Akhil!
This is exactly what I was looking for.
I am just curious where can I find such methods in the documentation or somewhere else?