I have a situation where I need to reset the selection of a radio button group, which is mandatory. I have tried setting the raw value of the individual radio button to false, but the group is retaining the selection info and not firing the mandatory rule. For example, buttons Yes and No in a mandatory group. User selects Yes, then several steps later, performs an action that requires the user to come back to this question, with the selection cleared. They should not be able to proceed without selecting Yes or No. Is there a direct way to "clear" the groups selected info?
Hey Joseph, you can clear the radio button selection by setting the value of the radio button group to blank, e.g.:
The radio button group component is an independent component in the structure. Using the setRawValue function you need to set the type of the rbBind parameter to Node.
I have achieved this before by setting the raw value of the radio button group to an empty string
Thank you. I had hoped it might be this simple! was concerned that, in addtition to data-value for the group retaining the selected value, it also was retaining the UID for the button. However, this solution seems to be working nicely.