Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Combo drop down list

Avatar

Level 2

I am creating a combo drop down list that has two values, var 1 and va2. When you select var 1 it should automatically link to its unique var 2 such as in the example below

New York  ->  U.S.A.

Moscow -> Russia

How can I script this?

Thanks.

1 Reply

Avatar

Level 10

Hi,

With a listbox/dropdown list you can have two values that you can access separately: the display value (which you set in the Object > Field tab) and the bound value (which you set in the Object > Binding tab).

There is an example here showing options for accessing these values: https://acrobat.com/#d=O1BVeK1eK6lfyUGFFcpEvw

Hope that helps,

Niall