Skip to main content
Participant
January 22, 2020
Question

Pull info from one field to another

  • January 22, 2020
  • 1 reply
  • 313 views

I have a contract form that I want a client to fill in thier name in a field and that name to be populated into other fields later in the PDF.  However, the fields later on can not be the same as the original field because those fields will be hidden until a checkbox is checked.  How can I do this?

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
January 23, 2020

There are two simple methods.

 

1. Use a calcuation script on the destination field to copy the value. You don't need a script for this. Use the simplified field notation. 

 

2. Use the format or validate script on the source field to push the value into the other fields. For this you need a script. 

Something like this. (Script will work the same in either validate or format)

 

this.getField("Dest_Name").value = event.value; 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
January 23, 2020

Ok, so i have tried every which way, no luck

 

the source field is named ClientName

the destination field name is ClientNameDJ

 

what do i put in where?