remove mandatory field messages on change form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi Team
I have requirement that during change new state we have to make Risk assessment fields mandatory Risk Fields are customized field on change
We have written Ui policy to make the fields mandatory during new state.
Now everything is working as expected but now client want now to remove all mandatory Risk Assessment field messages on top of the form instead of that we need to have only one single message that "Risk Assessment is mandatory"
Is there any option that to remove oob functionality and add customized message
Please check and help me to proceed further on the requirement.
Thanks,
Pujitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @pujitha K ,
Instead of a UI policy, Can you write a client script(onSubmit) and check if these fields are empty if so throw a single error message "Risk Assessment is mandatory"
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025