I am new at creating forms using Adobe. I created a drop-down list with "Locations" and I would like the address to each location to populate automatically when the user makes a selection in a text field below. I've read some of the entries posted previously on this topic but I am not fully understanding how to modify my scrip to make this happen. I need help ASAP!!! Thanks.
Views
Replies
Total Likes
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 = "";
}
Views
Replies
Total Likes
Thanks for the reply. I tried the script and I keep getting an error message reading "xfa not defined". The company is using an old version of Adobe (Adobe Acrobat 5). Don't know if it has something to do with it, or I'm just not making the changes correctly when modifying the script.
Views
Replies
Total Likes