UI Policy not working to make fields mandatory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:21 AM
I've been creating a UI policy that makes certain fields on a form mandatory:
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.
Please can somebody explain why my UI policy is not working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:24 AM
Hi,
Check if any UI Policy is working on the Same fields , if so change the order and try

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:27 AM
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?
All UI policy actions have red dots in your picture, indicating conflicts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:28 AM
Hi,
are you sure no other UI policy with higher order is making it non-mandatory?
what if you use onChange?
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:32 AM
There are other UI policies being used with those same fields.
Are you referring to client scripts when you mention 'onChange'?