Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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