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

Same field on MULTIPLE PDFs

DepecheNYC
Registered: Dec 30 2008
Posts: 12

I have several PDF forms. They all have a field named "Name". If I have FDF file which contains a value for "Name", how can I import it into all these several PDFs at once?

One way I can think of is to combine these several PDF forms into 1 but that'll increase the size of the too big.

My Product Information:
Acrobat Pro Extended 9.0, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
You could use Javascript in a batch sequence to perform this function. Check out the [url=http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJSPreface.87.1.php]Javascript for Acrobat API[/url] ImportAnFDF function.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

DepecheNYC
Registered: Dec 30 2008
Posts: 12
Can you show an example?

http://www.irs.gov/pub/irs-pdf/f1040.pdf
http://www.irs.gov/pub/irs-pdf/f1040c.pdf
http://www.irs.gov/pub/irs-pdf/f1040es.pdf

They all have a field for your last name somewhere in the document.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
But the field name in each form for the last name has a different form field name. And for the 1040-ES that has multiple copies of the same form, each instance of the last name field appears 4 times and each occurance has a different name for the field.

One could create an FDF with all of the necessary form field names and vlaues. For just the Last Name for the 1040-ES one could have:

%FDF-1.2%âãÏÓ1 0 obj<</FDF<</Fields[<</T(c4_01\(0\))/V/Off>><</T(c4_03\(0\))/V/Off>><</T(f5_04\(0\))/V(Kaiser)>><</T(f7_04\(0\))/V(Kaiser)>><</T(f7_14\(0\))/V(Kaiser)>><</T(f7_24\(0\))/V(Kaiser)>>]/ID[<3B4A969EDABFF54BA4C971748C5D4F1F><DFBF5E555E8481488FCB51A203EB0386>]/UF(f1040es.pdf)/F(f1040es.pdf)>>>>endobjtrailer<</Root 1 0 R>>%%EOF

George Kaiser