Getting the rawValue of a Drop-Down list on the "change" event


i having problems getting rawvalue of drop-down list on "change" event. seems have select same item twice in row rawvalue value of selected item.

::dropdownlist onchange event::
xfa.host.messagebox(this.rawvalue);

on first time value selected 'null'. second time same value selected, selected value.

does have thoughts on why happening? also, cannot use xfa.event.newtext, need use rawvalue of dropdownlist.

thanks

the change event occurs before rawvalue changed. if need use rawvalue you'll need use later event. perhaps use exit gets triggered when field loses focus?

chris
adobe enterprise developer support


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments