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

Selected value from a Drop-Down list


Level 2

I am having a hard time figuring out how to get the selcted value from a Drop Down List in the change event.  I am trying to set the number of rows to the number selected in the Drop-Down List.

I have tried:

form1.#subform[0].DropDownList1::change - (JavaScript, client)


Can anybody see what I am doing wrong.

1 Reply


Level 9


If you want to capture the selected value in the change event of the dropdown list, then in the change event you can put the script

var a = xfa.event.newText. In the exit event you can use the rawValue, but during the change event you have to use xfa.event.newText .