How to make all check boxes mandatory on a catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 10:46 PM
Hi experts,
We have a catalog item with 3 checkboxes one after another.
Generally if there is a group of checkboxes then by default selection of at least one checkbox becomes mandatory.
But Client wants all of these 3 checkboxes to be mandatory.
Is there any OOB way to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 10:53 PM
What about creating three consectuctive true/false fields and making all three mandatory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 10:57 PM
Hi Kalyani,
You can create a an onSubmit client script and check if all the checkboxes has value then return true else return false .
So, that if any of the checkboxes will not be selected then form submission will be aborted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 11:13 PM
Hi manalAquil,
Yes, we can do that, but they want the asterisk sign to appear next to all checkboxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 11:47 PM