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."elseThis is ...