How to auto populate multiple text fields using xfa.event?

Avatar

Avatar

Benjamin_Houge

Avatar

Benjamin_Houge

Benjamin_Houge

08-07-2015

 

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!

 

 

Accepted Solutions (0)

Answers (0)