Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ServiceNow: Enforce Mandatory fields check on UI Builder

rs1958
Kilo Contributor
I want to enforce mandatory fields in UI to be populated on trigger of an event like button click.

I do not want to add code to check each mandatory (or conditional) fields and evaluate if they are populated.

Is there any way to have a generic check for fields that are marked mandatory and validate if they are populated?

 

2 REPLIES 2

Abhishek M
Kilo Guru

Hi @rs1958,

 

You can refer youtube video, if that helps

 

Creator Toolbox - UI Builder Form Validation 

_Damian
Tera Contributor

What if I have form component on my page, page is generic for many task types(like record page on SOW or CSM), sometimes case is shown sometimes incident. How then I can validate if all mandatory fields on form are filled in? I do not know names of all those fields as they depends on tasks types.