These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Auto-fill user entered form data into like fields

jmohr
Registered: Jan 9 2011
Posts: 1

I have a set of 5 forms that members need to fill out on a yearly basis.
 
Each form requires some of the same information (name, phone #, etc.). Right now they are 5 separate forms that have to be filled out from scratch.
 
It would be nice if I could combine them into 1 document and when a user fills in his/her name the rest of the name fields would be auto-filled with the name they entered.
 
Is this possible?

My Product Information:
Acrobat Pro, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You can use the export and import FDF or XFDF files. Just make sure the names of the like form fields are the same.

George Kaiser

zkamyar
Registered: Mar 24 2011
Posts: 3
Similar but a bit different question in need of aid....I have 12 fields that are on 6 pages. Instead of having the client go through all 6 pages, I'd like to create a POP-UP MENU right when they open the pdf form. This way, the POP-UP MENU can simply request for the fields to be completed on start and once they press enter, it will self populate on all 6 pages. Can you please help me to figure this task?

KamiZ

try67
Expert
Registered: Oct 30 2008
Posts: 2398
KamiZ, you can use the app.response() command to get a simple value from the user.
You can use this code to do it. You can embed it in the document so that it executed when the file is opened:

var response = app.response("Enter the value:");
if (response) this.getField("Text1").value = response;

Of course, you might want to edit the text disaplayed in the message, and the name of the target field.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

zkamyar
Registered: Mar 24 2011
Posts: 3
Thank you so much! How do I embed it in the file? Where do I click or navigate to do this? Have a gr8 weekend.

KamiZ

try67
Expert
Registered: Oct 30 2008
Posts: 2398
It depends on the version, but try this:
Advanced - Document Processing - Document JavaScripts
Now create a new script (the name doesn't matter). In the window that opens delete all the text, and paste the code instead.
Click OK and you're done.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You might want to look at Windjack Solutions acrodialog product for a method to prompt with more information than the simple response field. The product creates the necessary dialog needed for the task since the dialog object is very difficult to code by hand.

George Kaiser