Expand my Community achievements bar.

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