Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Dropdownlist getting Value/Text?

Avatar

Level 2

hi,

In Dropdownlist we can set two values [Values, Text].

I have created a dropdownlist with these values/text

0/1500

1/2000

3/3000

On change event of dropdownlist i can get the text using

xfa.event.newText (1500,2000,3000)

how can i get the values (0,1,3) of the new selected text?

thanks

Faraz

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Faraz,

You can use the following to get the values (0,1,3)

this.boundItem(xfa.event.newText)

Regards

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Faraz,

You can use the following to get the values (0,1,3)

this.boundItem(xfa.event.newText)

Regards

Bruce