The CreatorCon Call for Content is officially open! Get started here.

UI Policy not working to make fields mandatory

matthew_hughes
Kilo Sage

I've been creating a UI policy that makes certain fields on a form mandatory:

find_real_file.png

When the question 'Does the EUDA use variable rates & factors? test' is 'Yes', I need the four fields below that question to be made mandatory. However, I can't get them to appear as mandatory.

find_real_file.png

 

Please can somebody explain why my UI policy is not working?

8 REPLIES 8

Michael51
Tera Guru

Hi,

Check if any UI Policy is working on the Same fields , if so change the order and try

 

Zach Koch
Giga Sage

Just to check the basics, is the UI Policy Active? Is there a script in the script tab that is interfering? Is there a client script or another UI policy that is conflicting with interaction on these 4 fields?

find_real_file.png

All UI policy actions have red dots in your picture, indicating conflicts

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you sure no other UI policy with higher order is making it non-mandatory?

what if you use onChange?

regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

There are other UI policies being used with those same fields. 

Are you referring to client scripts when you mention 'onChange'?