Check box validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 01:44 AM
Out of four check boxes at least one check box should be checked other wise the form should not be submitted.
Any one help me out to perform this action.
At least 1 value should be checked. If not then it doesn't allow to submit the request and message: "Please choose at least 1 application"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 01:52 AM
Make that variable is mandatory and then it become will show error message.
or share some screen shot where you want to add.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 01:53 AM
To achieve your requirement, you can make use of an On-Submit client script. Please find a snip below for your reference :
Here I have taken 2 checkboxes into consideration where both the checkboxes should be checked. In your case, please configure a client script like this for your catalog item, change the condition in the script to include OR instead of AND for all of your four checkboxes and let me know the results.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.