Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

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

$
0
0

 

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!

 

 

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>