Expand my Community achievements bar.

change text field based on dropdown


Level 1


I'm new to LiveCycle and am having trouble getting a textfield to change when I select different options in a drop-down menu.  I used the following script (tried using exit and calculate events also):


Still not working.  What am I doing wrong?  Do I need to change any properties of the TextField?

1 Reply


Level 5

this.rawValue only holds the old value of the drop down list when you are scripting inside the change event. you need to to have

if ( xfa.event.newText == " BURIED W/ BOX")


     TextField7.rawValue = "CONSTRUCTION";


this will be on the change event of the dropdown in javascript