(FDF) is developed based on PDF, which can be used to when submitting form data to a server, receiving the response, and incorporating into the interactive form. It can also be used to export form data to stand-alone files that can be imported back into the corresponding PDF interactive form. FDF uses the same syntax and has essentially the same file structure, but is much simpler than PDF, since the body of an FDF document consists of only one required object. In the following part, I will show you how to create FDF from PDF by VeryPDF PDF Toolbox
Step 1. Download PDF Toolbox
- VeryPDF PDF Toolbox is able to deal with most PDF operations by command line. Primarily, it can merge, split, encrypt, fill PDF form, edit PDF description information, and optimize PDF. And there are three versions for you to choose: Mac, Linux and Windows. Please download the right version according to your computer system.
- Once downloading finishes, there will be an zip file. Please extract the zip file to some folder then you can check the elements in it.
Step 2. Create FDF from PDF
Usage: pdftoolbox <input files> [options] <-outfile output >
- When you need to create FDF from PDF, please refer to the following command line template:
pdftoolbox sample_fillform.pdf -createfdf -outfile _fillform_out.fdf
Once downloading finishes, please go to folder of test. Simply find the second bat file which is named as createfdf and double click it then you can check the output effect. This is the fast way to check software working effect. And please refer to the syntax in bat file to run the conversion.
- By the output FDF file, you can fill PDF form by the data in it. When you need to fill PDF form by FDF file, please refer to the following command line template.
pdftoolbox sample_fillform.pdf -fillform sample_fillform.fdf -outfile _fillform_withnewdata_out.pdf
-fillform : fill form fields of a single input PDF file with the data from an FDF/XFDF file. The form fields remain interactive in the result PDF.
-createfdf : input a single PDF and generate a FDF file suitable for -fillform.
Note: please pay more attention to the syntax of the command line and do not forget to name the output extension as .fdf.
Also this software also can help change PDF form to flatten PDF file. And I will introduce this function in next article. If you need to know more about this software, please experience it yourself. During the using, if you encounter any problem, please contact us as soon as possible.