How to make atleast one to be selected on checkbox

Sandeep36
Tera Contributor

Hello,

I have below requirement,

User has to select atleast one checkbox. all these checkboxes are in a container, i made the container mandatory it did not work.

some one has soluton for it??

find_real_file.png

Thanks

12 REPLIES 12

Helped me a lot!

AJ14
Kilo Contributor

I am using London. I have 2 check box items in which I need to make it one or the other needs to be checked before form is submitted. But not both to be checked at the same time. How would I modify or create that? The user request prefers to not have a drop down menu because that was my first choice.

Patrick Fedigan
Giga Guru

Hello Sandeep,



You can put a label with the checkboxes and make that mandatory with a UI policy. No scripting needed.



Here is a thread with more info



Catalog Item Sleight of Hand: Mandatory selection of Checkbox options without writing scripts


Allison3
Kilo Guru

What table do you put the UI policy on? I'm going through the above knowledge article steps and can't get the UI policy to work.


In Catalog item ,you have one related list "UI policy" .Create your UI policy there.


Or go to Catalog UI policy from left nev. and create new, select your catalog item there.