Expand my Community achievements bar.

Drop Down List - Linking 2 of them

Avatar

Level 1

Hi Adobe Forum,

I am really new to form design in Livecycle and I am trying to link to drop down lists.

I have one field named ID and another field named Description.

I want it so that when someone chooses the ID then the corresponsding description for that ID will automatically appear.  Also, if I could have it so that if someone doesn't know the ID but knows the description could choose the description and the ID will automatically appear.

Any info would help.

Thanks.

2 Replies

Avatar

Level 10

Hi,

here is an example with screenshots:

http://www.assuredynamics.com/index.php/category/portfolio/linking-dropdowns-using-global-binding/

It doesn't involve scripting, so you just need to look at how the two dropdowns are set up.

the first (ID) has display items set in the Object > Field palette. This is what the user sees when they open the dropdown. In the Object > Binding palette there are specified bound items for each of the display items in the list. These are the descriptions for each of the IDs. When the user select an item in the dropdown, the corresponding bound item is the VALUE of the dropdown.

The description dropdown has display items set. These must be the exact same as the bound items for the ID dropdown.

Lastly both fields have the same name and have their binding set to global, in the Object > Binding palette. This way no matter which dropdown the user selects from, the data will be synchronised.

Hope that helps,

Niall

Assure Dynamics

Avatar

Level 1

Thank you so much Niall, this information was very helpful.

Melissa