When checkbox is check, uncheck specific checkbox

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Phillip911
 
 
Posts: 40
Joined: Fri Jan 21, 2022 12:44 pm

When checkbox is check, uncheck specific checkbox

Post 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 ?
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
User avatar
BaconFries
 
 
Posts: 5914
Joined: Thu Aug 16, 2007 7:32 pm

Re: When checkbox is check, uncheck specific checkbox

Post by BaconFries »

This would require a custom script such as javascript/jquery or using the following:
https://www.wysiwygwebbuilder.com/conditions.html
User avatar
Pablo
 
Posts: 23331
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: When checkbox is check, uncheck specific checkbox

Post by Pablo »

Did you consider using a radio buttons instead? Radio buttons have this behavior by default.
Phillip911
 
 
Posts: 40
Joined: Fri Jan 21, 2022 12:44 pm

Re: When checkbox is check, uncheck specific checkbox

Post 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.
Professional Web Design and Development Service - Odeysoft
https://odeysoft.com
User avatar
crispy68
 
 
Posts: 3018
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: When checkbox is check, uncheck specific checkbox

Post 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.
Post Reply