Page 1 of 1

When checkbox is check, uncheck specific checkbox

Posted: Mon Sep 25, 2023 8:08 am
by Phillip911
Hi, if i have a checkbox call "A" and "B", when user select the checkbox A, the checkbox B will automatically uncheck if B has been select before. May i know how to do it ?

Re: When checkbox is check, uncheck specific checkbox

Posted: Mon Sep 25, 2023 8:50 am
by BaconFries
This would require a custom script such as javascript/jquery or using the following:
https://www.wysiwygwebbuilder.com/conditions.html

Re: When checkbox is check, uncheck specific checkbox

Posted: Mon Sep 25, 2023 8:56 am
by Pablo
Did you consider using a radio buttons instead? Radio buttons have this behavior by default.

Re: When checkbox is check, uncheck specific checkbox

Posted: Mon Sep 25, 2023 12:20 pm
by Phillip911
Yes i do consider the Radio button before, but the radio button unable to uncheck it. When user click the button, it can't uncheck the button back.

Re: When checkbox is check, uncheck specific checkbox

Posted: Mon Sep 25, 2023 1:30 pm
by crispy68
I would believe you have something incorrectly set up then. That's what radio buttons do. If you check one of them the others become unchecked and you should be able to change your selection.