If user don't select check box field then abort submit button in catalog item in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2023 03:11 AM
If user don't select check box field then abort submit button with error message in catalog item in servicenow.
User should choose at least any one of these choices, if user do not select any of these checkbox then user should not able to submit request and error message should pop up.
Please help me with this query.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 06:05 AM
Hi Sameeksha,
Give a mandatory to the options field.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 03:10 AM
Hi Priya,
User should be able to select any of the choices based on his requirement.
I cannot give mandatory to all check box, if I do, then user need to select all choices.
Hence I need client script for this requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 03:57 AM
Hi @Sameeksha M,
Create a label before the checkboxes,
In the first checkbox variable check the selection required checkbox.
If this solves your problem, please mark this as correct.
Anand
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 04:18 AM
Thanks for replying!
I tried this way also, but if I check on one box and not for other, I'll get notification to fill mandatory fields i,e other check box.