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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Display value of a dropdown

Avatar

Level 3

Easy question for someone. Hard question for me. I have been trying to have a textField display the display value of a DropDown thats been populated with a script based on a radio button selection. I am having trouble having the text field display anything other then the value of the dropDown selection. I have tried the "value" instead of rawValue but am having no luck. Can anyone help me?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

When it comes to dropdowns, there are two properties that are at play. If you have specified values in the Object > Binding palette, then the .rawValue will access the bound value.

What you are after is the display value of the dropdown (eg what the user sees).

Here is an example:

http://www.assuredynamics.com/index.php/category/portfolio/accessing-bound-and-display-values-of-dro...

Hope that helps,

Niall

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Hi,

When it comes to dropdowns, there are two properties that are at play. If you have specified values in the Object > Binding palette, then the .rawValue will access the bound value.

What you are after is the display value of the dropdown (eg what the user sees).

Here is an example:

http://www.assuredynamics.com/index.php/category/portfolio/accessing-bound-and-display-values-of-dro...

Hope that helps,

Niall

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now