Hi,
I am new to designing PDF forms and I have a question about combo boxes. I have been able to create them, populated with the selections I choose, but I want to know how to use the selection in one combo box (call it CB1) to control/limit/filter which selections are available to choose from in another combo box (call it CB2).
For example:
- CB1 has 4 choices to select from when you do the pull-down: A, B, C, D
- CB2 has 8 choices to select from initially when you do the pull-down: red, blue, yellow, green, orange, purple, black, white
- I want my file to work like this --> if you select "A" in CB1, then the only choices available to you in CB2 are "black" and "white". If I were to go back to CB1 and change my selection to "B", then I only want "red" and "blue" available to choose from in CB2.
ANY HELP WOULD BE GREATLY APPRECIATED!!!
This article should help you out- make sure to download the example PDFs so you can examine the code used to make it work.
http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com