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

Linking two Drop down lists in Adobe Designer using formcalc?

jg916
Registered: Aug 18 2009
Posts: 4

I have two drop down lists on my form:

DropDown1Parent:
Value 0 - Fruit
Value 1 - Vegetable
Value 2 - Everything

Dropdown2Child:
Value 0 - Apple
Value 1 - Orange
Value 2 - Peach
Value 3 - Carrot
Value 4 - Squash
Value 5 - Beet

I am somehow trying to make it so for example:

If DropDown1Parent = 0 then Dropdown2child options are 0,1,2
else
If DropDown1Parent = 1 then Dropdown2child options are 3,4,5
else
If DropDown1Parent = 2 then Dropdown2child options are 0,1,2,3,4,5

Any help would be greatly appreciated. I am using Adobe Designer 7.0

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Have a first look to this tutorial, it explains similar tasks.

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

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs