Droplist with duplicated multiple bounded values - LC Designer ES3.5

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

23-09-2013

Hi,

I'm trying to set (via js on the "Change" event) the value of text field (called "txtClientCurrency") with the selected item's bounded value in a droplist (called "droplistClientCountry").

temp_objects_1.png

The droplist contains the counteries and the binded values contains the currency code (e.g., SAR, EURO, US, etc...) and as you can imagine, some currencies are used by more than one country.

When I select, for example, "United State" from the droplist, the txtClientCurrency field is set correctly to "USD".

temp_selection_2.png

However, the droplist shows that the items I selected is "Ecuador"?!?

temp_result_3.png

I used the follwoing simple JScript to automate set value of the Currency edit box:

temp_script_4.png

What's the reason and how to avoid such behaivor?

BR,

Yasser

View Entire Topic

Avatar

Avatar

Yasser__AST-IT_

Avatar

Yasser__AST-IT_

Yasser__AST-IT_

23-09-2013

Hi Bruce,

Yup...I think this the way to go.

Maybe Adobe should look at this, because in real life, you could have one to many relationship between bounded values and selection items (like the countries/currency list)

Again,  thanks for the hel 🙂

BR,

Yasser