On a form, how do you set the values of the multiple sets of radio buttons as being selected based on the drop down value of a text field? The multiple sets of radio buttons are grouped together eg., WP.1 (with WP.1#0, WP.1#1, WP.1#2). I want to set WP.1#1 as selected if the Smith text is selected in the drop down value. Thanks!
Radio buttons are like potato chips, you've got to have more than one. Radio button's by themselves do not have a value, only a group of radio buttons has a value. Like it's a single element.
Individual Radio buttons do have an export value. In both LiveCycle forms and AcroForms this export value is text. And in both cases, the value of the Radio Button Group is the export value of the selected radio button.
So there is your answer. Use the value of the drop down list to set the value of the radio button group.
See these Articles:
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/change_another_field/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/change_another_field/[/url]
[url=http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/]http://www.acrobatusers.com/tutorials/2007/js_radio_check_box/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script