Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Radio Buttons

Avatar

Level 3

This question has probably be answered several time but how do you unselect a radion button group after having already selected one option?

Also, browing the Forum seems very slow to say the least. I would like to browse answered questions which you can do by selecting "answered questions" but once you selet that post to read and then return, you have to start from scratch. Is there somthing I am missing or is that the way it works?

Thanks -pc

1 Accepted Solution

Avatar

Correct answer by
Level 6
3 Replies

Avatar

Level 7

Two methods come to mind:

1) Use a button with the resetData() function on the click event. This requires an "absolute-SOM" in quotes, as in this example:

     xfa.host.resetData("form1.MainSubform.RadioButtonList");

2) Add a radio botton with "None" as a choice--this allows the user to unselect all other choices.

Good luck!

Stephen

Avatar

Correct answer by
Level 6

See the following for another approach: http://acrobatusers.com/tutorials/creating-radio-checkboxes

Avatar

Level 7

Thanks, George!

Very Interesting approach/solution.

Stephen