Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Yes or No checkbox- One or the other

Avatar

Level 2

What would be the script to allow only one or the other for a Yes or No check box?  I initiallty used an Action Builder to disable one when the other is selected, but then if the person makes a mistake and wants to select the other option, using the Action Builder didn't allow the user to change their decision.  So, if the person checks Yes, then No is disabled, you can't change it to No, when I used the Action Builder.

What I need:

The user to be able to select Yes or No, but only select one at time, not both Yes and No and not disable the other.

Thanks for any suggestions.

1 Accepted Solution

Avatar

Correct answer by
Level 1

You normally don't use checkboxes for that.

Have a look at radio buttons - if you need to you can also customize them to look the same as checkboxes (by default they are round).

They basically are a group of buttons of which only one can be activated.

You can check all the details in the help entry:
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000355.html#1581107

Cheers,

Mike

View solution in original post

2 Replies

Avatar

Correct answer by
Level 1

You normally don't use checkboxes for that.

Have a look at radio buttons - if you need to you can also customize them to look the same as checkboxes (by default they are round).

They basically are a group of buttons of which only one can be activated.

You can check all the details in the help entry:
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000355.html#1581107

Cheers,

Mike

Avatar

Level 2

Perfect solution.  I didn't think of radio buttons.  Thanks.