
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021 05:44 PM
I have a group of checkboxes i want to set as mandatory from the Form Design. I know from catalog item, adding a label and setting as mandatory will do the trick. Can I please get suggestions on how I can do this from a Form Design view?
Thank you
Solved! Go to Solution.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 12:21 PM
I've only ever used this as a Catalog Client Script rather than a Client Script; but that shouldn't really make a huge difference, other than where/when it runs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 10:14 AM
Is 'bug" the choice value for the variable? You may want to also test it as "getDisplayValue"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 10:32 AM
It's where I would be using it, so not sure why it's not wanting to work.
The line is essentially saying that "if passed is negative AND the selection is bug" do the following; which is show the alert and stop the submit.
I don't currently have this in a working environment or "live" testing scenario, but I can throw something together to see what's going on

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 10:52 AM
Thank you Ian!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2021 11:49 AM
Found the issue. It's the "Isolate Script" checkbox on the Catalog Client Script record. Unchecking it allows the script to work as expected.
You may not have the field visible so go to the Configure Form Layout to add it, then uncheck it.