Avatar

Level 6

Here is the JS example for you to consider.......this goes to change event of the DropDown

if (xfa.event.change== "location1") {

     xfa.form.form1.subform1.textField.rawValue = "1234 Street Name, City Name, ST ZipCode";

}

if (xfa.event.change== "location2") {

     xfa.form.form1.subform1.textField.rawValue = "1235 Street Name, City Name, ST ZipCode";

}

//add as many as you have

if (xfa.event.change== "Please Select") { //default

     xfa.form.form1.subform1.textField.rawValue = "";

}