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

Using if COMMAND TO CHANGE CONTENT OF A DIFERENT BOX

Martin D
Registered: Oct 15 2009
Posts: 2

I want to have a combo box with two options "Wall" & "Floor". If wall is selected the contents of another box should display a drop down list appertaining to Wall Choices, If Floor is selected then the drop down list in this other box should display a list appertaining to Floor Choices.
Greatful for any help.

Thanks

Martin

My Product Information:
Acrobat Pro 9.1.3, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi Martin D,

This can be done with scripting. Below is a link for a tutorial on programming list fields and comboboxes- included in it are links for sample files with code you can examine to see how it is done. Of course, you will have to modify/alter the code to fit your particular purpose, but that and other resources here at AUC should help get you started. If you are new to scripting take some time to go through the Learning Center here- search on JavaScript for a huge list of topics about PDF scripting.

http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com