Hi All,
I am new using adobe acrobat pdf form and also using javascript.
I have a form that requires to get the value from the radio button with 5 different values and if I click at the radio the value will be displayed at the textbox. Any help will be appreciated.
thanks in advance,
sandy
The easiest way to use a radio button to place a value in a text field is to place a script, like the one below, in the calculation script for the text field.
event.value = this.getField("MyRadioButtons").value;
where the value exported from the Radio button group is the "export" value set in the "options" tab of properties dialog for each of the individual radio buttons.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script