Skip to main content
Participant
May 28, 2021
Question

Sending textbox data to other attached forms

  • May 28, 2021
  • 1 reply
  • 578 views

Hello,

    i hope anyone can help, i am still very new to designing forms in acrobat.  but basically i am trying to create a cover sheet form with the basic information in it. Last Name, First Name, DOB, SSN, etc. and then the attached forms when opened would then fill the cover sheet information into the correct place on each form.  example would be:

Cover Sheet with main info
      -W-2 form
      -Data Clearance form
      -Badge Request form
      etc

any help would be great if this is possible.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
May 28, 2021

You can create a button on the top form to push data into the attached forms.

 

In Acobat JavaScript the attachments are called Data Objects. They are available through the "doc.dataObjects" property. 

A data object is opened as a PDF with "doc.openDataObject()" function.

Here's the reference entry:

https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FDoc_methods.htm%23XREF_51160_openDataObject

 

 

 

 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often