I need to have 2 radio buttons 1)Director, 2)Consultants. Depending on what the end user selects. I need to have different dropdown list with different data contained within. Both dropdowns cannot appear at the same time because of the data. Then my form will calculate based on the selections of the end user. To make things worse, the drop downs must appear in exactly the place on the form. I am beginner in form design with Adobe Designer 7.0. I am not sure what direction I should go or even how to write the script. Any ideas. Thanks, Martin
MydropList1.presense = "visible";
MydropList2.presense = "invisible";
The other solution is cleaner from a form design perspective, but requires more scripting. Rather than having two dropdowns, use one list and re-populate it with different data depending on the radio button setting. Take a look at this article. It explains exactly how to do this.
[url=http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/]http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/[/url]
Here's an article that explains how radio buttons work.
[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