- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2019 07:53 AM
Hello All,
I am trying to make label for check boxes mandatory. I have checked the mandatory check box for that field but it is not working on itil view but working on portal view. So I wrote a UI policy even it is working on Portal but not on ITIL view and so I wrote Client script even its the same. Does anyone know what might be the issue that stopping them triggering on ITIL view.
Portal view --
Itil view --
Regards,
Chipsy.
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2019 08:00 AM
Hi,
To make a label mandatory above checkboxes you need to first add the label, choose no other setting.
Then add your checkboxes with an order to where they'd appear next to each other right under the label variable.
In the first checkbox that appears after label, check the "selection required" / "mandatory" box in the top-right corner of the variable settings.
Then....on your form, it will look like this:
then select one:
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2021 10:19 AM
This is my issue below. Question two works perfectly because I have two checkbox fields and above that, it's a label field and it automatically makes it mandatory. Question 1 doesn't work correctly because I assume it's a macro-label field instead of just a label. "Options" wording displays on its own - probably bc I made a mandatory selection on the two checkbox fields.
Ideally, I would like the Word "options" to go away and have question 1 have the mandatory asterisk mark instead.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2021 10:36 AM
Hi,
Yeah, as I mentioned above for macro with label, that can't be made mandatory, unless you do the onSubmit client script, but in the case it's irrelevant because you have two checkboxes after that you want to tie to it.
The 'Options' word shows up standard as soon as you place any checkbox on the form. My recommendation would be to place a 'label' variable before these checkboxes (but after the macro with label field) and use verbiage like:
"Based on the question above, please select Yes or No"
Something like that.
I know you don't want it there at all, but it "sort of" ties it together.
Then for making it mandatory as you've seen me say in the post higher above, use that methodology.
Prior to I think ServiceNow "New York" version..you could create a label with just a spacebar press in it to "blank" it out and not show "Options" or anything, but ServiceNow removed that some time ago. So that's why I'm saying you could try to word the label and still "tie it" together some.
Please mark reply as Helpful, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!