How do I use formcalc to add radio buttion values?
For example,
A multiple choice quiz has a question then options A B C (radio buttons). The correct answer is A so its value is 1. B and C values are 0.
Then students clicks a button and the values get added, displayed and emailed all at once.
Set the values of the radio buttons in the Binding tab of the Object palette. Give each button a unique name.
Here is a simple sample that uses the fully qualified paths to the radio buttons. Put this on the field where you want the total to appear.
form1.#subform[0].subform1.RadioButtonList.bttn1+form1.#subform[0].subform1.RadioButtonList.bttn2+form1.#subform[0].RadioButtonList.bttn1a
A certified expert on Adobe Acrobat, Carl Young is an Adobe Acrobat and LiveCycle Designer trainer and consultant based in Phoenix. He is the producer of the [link=http://www.pdfconference.com/]PDF Conference[/link].