- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 07:21 AM
I am trying to create multiple CheckBox under a Label and have the CheckBox Mandatory (i.e the user must select at least one CheckBox before submitting). Moreover, is it possible to have a red asterisk next to the label as well?
I was able to get the mandatory CheckBox to work with this tutorial however it does not have the red asterisk that I am looking for.
I am looking for something like this:
On this:
Thank you for the help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2018 11:47 AM
So here are some screenshots...build 2 onChange Client Scripts. This works in the ITIL service catalog, but the Service Portal doesn't seem to like it. Looking at that now:
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018 02:58 PM
The problem with that is that it will put a red asterisk next to either "test_1" or "test_2". Or if I mark both with "selection required" then both would need to be checked before a user can submit.
What I am looking for is a red asterisk next to "Test" then when a user either select "test_1" or "test_2" the red asterisk would either go away or turn grey.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018 03:51 PM
Wrap the checkboxes in a container and then create a UI policy that makes the container mandatory. That will enforce that one of the options is checked without requiring all of them. It should also put the asterisk next to the checkbox's header.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2018 07:28 AM
I just tried that and the UI policy does enforce the mandatory requirement on the check boxes, but still the red asterisk does not appear next to the label or the container start with display title enabled.
Instead of check boxes, is there a way to use multiple choices instead? (I.E use multiple choices and allow the user to select more than one).