Solved

Acrobat Forms: Populating fields across documents

Posted on 2004-09-09
5
346 Views
Last Modified: 2008-02-01
Is it possible to fill in a customer's name and address in form fields in one pdf document and then have that information automatically populate name and address fields in 3-4 related pdf documents? All these have separate file names.

Or is it necessary to create a single pdf from these multiple files in order for this to work?

Thank you for your assistance.
0
Comment
Question by:goodmorals
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12021971
There are ways you can do this across document boundaries, but it's much easier if you have all the pages in one document. Let's talk about the second - simpler - option first: All form fields that share the same name will automatically inherit the data that you set the field on the first page to. So, let's assume that you have a form field to hold the customer name on the first page (let's call this "customerName"). If you now create form fields with the same name on all pages that also need to show the customer name, the customer name will automatically be propagated to all these fields.

The other option is much more complicated. But, there are again simper and more complicated options. The most straight forward option is to store the information that you want to share across the documents in a global JavaScript variable. Your other documents would then reference this global variable to initialize these fields. The problem with this is that if you fill out the first document twice for two different customers, only the last entered information will be available to the other documents.
The next option is a bit more complicated: You create a web server that stores the data you've entered for the first document. Your documents 2..4 are then opened via the web server, which would send the FDF (forms) data to the client, which in turn would request the specific document to be opened.
And, to make things a bit more complicated and more interesting :-) you can store the data in a ODBC accessible database from the first document, and then use the same database to populate the fields in the following documents.

Depending on how you actually fill out and process the forms, I would merge the individual documents if possible.
0
 

Author Comment

by:goodmorals
ID: 12023063
Am I correct that a person using Adobe Reader will not be able to access a global Javascript variable as opposed to a document-level variable?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 12023227
You can actually set and retrieve global JavaScript variables with Reader.

One thing you have to keep in mind however (and this also applies to the full version of Acrobat). Adobe limits the amount of data that can be stored as global JavaScript variables to 4KB. This means that if other applications already use up 3.99KB, you will not be able to store your variables.
0
 

Author Comment

by:goodmorals
ID: 12026632
How does one set and retrieve global JavaScript variables with Reader?

Would this be a method of entering name and address info in one form and having it populate to another?

I am leaning to combining all the forms into one file and then using bookmarks off a menu page to  jump to the one needed.

0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 175 total points
ID: 12030975
You would use something like this:

global.myVariable = 1;
global.setPersistent("myVariable", true)

Then, to use this variable, just use this:

doSomething(global.myVariable);

It's the same for Reader as it is for the full version of Acrobat.

Yes, this would be a method to bring information from one document into your other documents (with the limitation that I listed above).

I would probably combine the three documents into one. It's much easier to use, and less error prone.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Browsers won't print to pdf 5 140
SharePoint 2013 open PDF in adobe 5 464
Force inline or simulate using css on a pdf 7 67
Add Background to a PDF Programmatically 1 67
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
PDF files have been in the limelight due to its unmatched features.  Personal documents, emails, business reports and eBooks are all converted into PDF files owing to peerless features provided by it. Adding watermark to a PDF file is a method to se…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question