Skip to main content
Participant
May 8, 2016
Question

Get value of one PDf form field to another PDF Form field

  • May 8, 2016
  • 1 reply
  • 722 views

Hi, I have two PDF fillable forms named "Statement1" and "Statement2"

Statement2 is attached form to Statement1

There are 4 fields with same name in both files: e.g

Text1, Text2, Text3, Text4

I want that, when i fill one pdf form, then it will automatically fill the other pdf form fieds accordingly

This topic has been closed for replies.

1 reply

jane-e
Community Expert
Community Expert
May 8, 2016

When multiple fields have the same name, then they will have the identical content.

Is that what you are asking? If not, please clarify.

Participant
May 12, 2016

No, I have two pdf fillable forms. One file is attachment of other file.

I want that when i fill the main file, it's value calculate the fields of attachment file.

For example:

I have two file named: "Application Form.pdf" & "Draft.pdf"  (both are fillable forms). "Draft.pdf"  file is attached with "Application Form.pdf" file

There are same fields in both files, so i want that when i fill "Application Form.pdf" it populate attached file fields.

Inspiring
May 12, 2016

There is no predefined action for this, so you will have to use some custom JavaScript. Have you looked at the Acrobat JavaScript API Reference?

Looking annotAttachment property ontentStream I see that one cannot access any attachment if the file type is "PDF".