These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Separate button to check multiple radio boxes

harrisbf
Registered: May 7 2008
Posts: 4

I am creating a form with many yes/no radio boxes. Because many of my users will be printing out the form and filling out by hand I cannot default the boxes to "no" at start. How can a create a button which will automatically select multiple radio boxes to "no" at once?

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If you do not want any options selected by default, then set the default for the Radio button group to "none".

Radio buttons act as a group, i.e., as a single field. You cannot set the values of the buttons individually.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

harrisbf
Registered: May 7 2008
Posts: 4
Let me restate.

I already have default to none and have a nice blank page.

There are 50 yes/no questions which for most people the majority of answers will be "no"

Is there a way for a user to hit a button which would change all of the groups to "no" at once so they could just change a few to "yes" if they needed to without needing to actually click a box for each question?
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Of course. Place a button on the form and it the "Click" event, enter a Form Calc script like this: (assuming that "No" maps to a value of 2)

MyRadioGroup1 = 2;
MyRadioGroup2 = 2;
MyRadioGroup3 = 2;
etc.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script