How to make label mandatory with checkbox having UI Policy

msesaldo
Tera Contributor

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

6 REPLIES 6

Mayur2109
Kilo Sage
Kilo Sage

Hi @msesaldo ,

 

Can you add screenshots for more understanding if possible.

 

Regards,

Mayur

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? 

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

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?