Check mandatory fields on the form.

Abhijit Das7
Tera Expert

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

Ankur Bawiskar
Tera Patron

@Abhijit Das7 

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