Expand my Community achievements bar.

Clear radio boxes?

Avatar

Level 2

So I set up four radio boxes in the exclusion group as advised. This achieves my goal of enforcing only one option in the group of 4 buttons. Now, my question is, how do you clear a selection? For example, if the user accidentially clicks on a button and then says, "Oh wait, I don't want to check any of those options." As a further example, I clicked on the buttons in testing, and now one button is permenantly selected and I don't want to e-mail it out that way -- I want the recepient to receive a form in which none of the buttons have been selected.

2 Replies

Avatar

Former Community Member

You can try resetting the RadioButton group. This shoudl return it to its original state. To do this add a button and on the click event use this command:

xfa.host.resetData("RadioButtonList Name")

Paul

Avatar

Former Community Member

The attached resets a radio button exclusion group (and makes it read only, also).

You can use a reset button to remove all user entered values. If you use Acrobat for testing there is also a clear form action from the Forms toolbar.

Steve