How to auto populate multiple text fields using xfa.event?
I am using the following script to auto populate a text field:
topmostSubform.Page1.Goal_1[0]::change - (JavaScript, client)
if (xfa.event.newText == "Drop down item 1.")
textfield1.rawValue = "Text populated to text field 1."
else
This is working great except I have been unable to effectively have the drop down auto populate a second text field. I would like the drop down selection to populate both textfield1 and textfield2. Is there any way to easily do this using the scripting method I use above? Any help would be much appreciated!