Expand my Community achievements bar.

Radio Button Group - "Deselect" and leave all buttons clear

Avatar

Level 1

Is it possible to have selected a radio button within a group and "deselect" it so all buttons in the group clear?  User could have "clicked" in error but cannot clear the button without selecting another button in the group.  I would like to let them clear the group.  Possible?

Thank You

4 Replies

Avatar

Former Community Member

Yes it is. For example, where 'favouriteFoodGroup' is an exclusion group, it can be reset using

xfa.host.resetData("form1.subform1.favouriteFoodGroup");

Steve

Avatar

Level 1

Appreciate your time.

Thank You,

Stacey Wyatt

Robert Livermore

Community Center

925 373-5706

swyatt@larpd.dst.ca.us

www.larpd.dst.ca.us <http://www.larpd.dst.ca.us/

Avatar

Level 2

Hi There, I'm having the same trouble, but when I use the code you've posted, it continues to reset the entire form, not just the radio exclusion group specified. My code is written on a button on the click event and reads as follows:

xfa.host.resetData("Form1.RequestForm.Approval.ApprovalOrDenial");

ApprovalOrDenial is the name given to the radio button exclusion group. What am I missing?

Avatar

Level 1

I am now having issued with Window 7 where before I did not. I don’t have an answer for you.

Sorry.

Stacey