How to make label mandatory with checkbox having UI Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2023 02:20 AM
I created 4 checkboxes and all 4 checkboxes have ui policy like clicking on them shows other fields. When I made first checkbox mandatory. The mandatory in the label only disables when I click the 1st checkbox. It won't apply if I choose checkbox 2, 3 and/or 4. Please advise on how I can proceed. Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2023 10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2023 11:23 PM
Hello Mayur,
See attached.
In the image, the Label is set to be mandatory by making checkbox 1 mandatory. However, the asterisk in the label only grey out if Checkbox 1 is true. It doesn't work with checkbox 2 and 3. I believe it because of the order where the checkbox are not group together due to the added multi text in between. How do I solve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 04:45 AM
Hi @msesaldo ,
What are you using to make Label field mandatory ?
If any of checkbox is true you can make label as non mandatory using client script.
Regards,
Mayur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 04:52 AM
I tried to re order the checkboxes ang group together then it works. I think the multi textline in between the checkbox causes this not to work. Would you know how to solve this using SCript?