• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Create .fdf file

New Here ,
Mar 01, 2018 Mar 01, 2018

Copy link to clipboard

Copied

Hi. I need to create a .fdf file with data from a .txt file or an excel file to allow me to import data into forms. The only joy I have had is being able to export the data from acrobat, but not creating a .fdf file from another source. Thanks for any light you can shine on this.

TOPICS
PDF forms

Views

17.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 01, 2018 Mar 01, 2018

There is of course the Acrobat Forms Data Format (FDF) Toolkit

But there are no applications for just generating FDF files, except of course Acrobat. 

You could write an Acrobat script to read the data out of the text file and use Acrobat to create FDF files. This is exactly the type of thing I do, so send me a message if you're interested.  You can contact me by sending a message through www.pdfscripting.com

Votes

Translate

Translate
Community Expert ,
Mar 01, 2018 Mar 01, 2018

Copy link to clipboard

Copied

There is of course the Acrobat Forms Data Format (FDF) Toolkit

But there are no applications for just generating FDF files, except of course Acrobat. 

You could write an Acrobat script to read the data out of the text file and use Acrobat to create FDF files. This is exactly the type of thing I do, so send me a message if you're interested.  You can contact me by sending a message through www.pdfscripting.com

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2018 Mar 02, 2018

Copy link to clipboard

Copied

FDF files are not easy to work with. You can import form data in the form of a tab-delimited text file, though. That's much easier.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 02, 2018 Mar 02, 2018

Copy link to clipboard

Copied

Here is another resource that shows how to import data into a PDF:

https://www.pdfscripting.com/public/ExcelAndAcrobat.cfm

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 21, 2020 May 21, 2020

Copy link to clipboard

Copied

No this question was not solved, I don't think.  That is, suggesting someone buy your product is not answering the question.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2020 May 21, 2020

Copy link to clipboard

Copied

What do you mean? The FDF toolkit is free.

 

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

The link that you posted doesn't actually show you HOW to do it without a membership...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

The link I posted wasn't necessarily about FDF. There are many ways to move data in and out of a PDF in Acrobat:

https://www.pdfscripting.com/public/Form-Data-Handling.cfm

 

You can create FDFs by simply exporting them from Acrobat.  Look at the "More" menu on Prepare forms mode. There there's and Export Form data option. 

 

If you want to use the FDF toolkit to to create an FDF 

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/FDFtkRef.pdf

 

If you want to write your own code you'll find the FDF specification as a chapter in the PDF Spec. This in an old one, but nothing about FDF, or really much about PDF, has changed:

https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf

 

 

 

 

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 08, 2024 Mar 08, 2024

Copy link to clipboard

Copied

I create them using a custom Java program.
The file format is text (i.e., readable), but is completely syntax specific - like all computer instructions.
Open one up and take a look at it.
For the most part it's copy/paste.
But, fieldnames and data fields are what get modified from one FDF to another, at least for a given PDF Form.
Within this page is the format for creating an FDF file.
https://appligent.com/docs-fdfmerge

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 09, 2024 Mar 09, 2024

Copy link to clipboard

Copied

Is that a for free or for pay software.

ABAMBO | Hard- and Software Engineer | Photographer

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 09, 2024 Mar 09, 2024

Copy link to clipboard

Copied

LATEST

It's a trivial piece of software embedded in a custom Java program.

e.g., LastName & FirstName refers to editable data fields in MyName.pdf.
(all other text remains the same):

%FDF-1.2
1 0 obj
<<

   /FDF
   <<

      /Fields
      [
         <</T(FirstName)   /V(Joe)>>
         <</T(LastName)   /V(Cool)>>
      ]
      /F(MyName.pdf)
   >>
>>
endobj
trailer
<</Root 1 0 R>>
%%EOF

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines