How to make label field mandatory for a catalog form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 02:03 AM
Hi,
We have a requirement to create the Label Variable and there are multiple checkboxes under it.
The requirement is to make the label as mandatory instead of each checkbox. If any of the checkbox is checked, the label will become non-mandatory.
Below is the label and checkbox fields:
I have created UI Policy to make 1st checkbox as mandatory
When I am trying to select other checkbox in the form, the label is still mandatory:
It is not working.
Please help with your suggestions.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 02:13 AM
Hi @User205031,
Please create a UI Policy without a condition, and create a UI Policy action to make the label field mandatory.
Example:
Label 1
- Checkbox 1
- Checkbox 2
- Checkbox 3
Your UI Policy action would have "Label 1" as mandatory
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 07:39 AM
Hi @User205031,
Have you tried the solution I suggested?
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 02:14 AM - edited 03-25-2025 02:22 AM
Hi @User205031
1. Create a Label type question.
2. Create check box type fields as required and make the first check box field variable as 'Mandatory/Selection required".
For more info, please follow the steps provided in the below community post to achieve your requirement.
Solved: Make label for checkboxes mandatory - ServiceNow Community
Sample:
Variables:
1. Label:
2. Check box 1:
3. Check box 2:
Output:
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 03:01 AM
Hi Siva,
I have done the same but its not working.