Import and export form data
Data entered in a form can be saved without saving form fields themselves, and repeatedly used to fill other forms. This can be useful for speeding up filling forms by automatically entering a data set that is common for a significant number of forms. The process includes exporting data of filled forms to be saved in special file types, and importing such files to fill empty forms. Valid file types are FDF, XFDF, XML and TXT – these can be handled by many PDF editors. They store not only the form data but also information on the number and types of controls within the form.
Export form data from a single opened, filled form
- Select .
- In the Save dialog box, specify the name and file type.
- Click Save.
Your data is stored at the defined location and file type.
Import form data into a single form
- Open an unfilled form.
- Select .
- In the file open dialog box, click Options, then set a file type (FDF, XFDF, XML,TXT) and browse to the file containing the data you want to import into the open form.
- Click Open.
So long as the chosen file contains form control descriptions and data that are suitable for the current form, the data will be inserted into the proper fields.
Export data from multiple forms
Data can be exported from multiple forms with the same data field sets to the file types XML and CSV (Comma Separated Values). These file types can be opened by Excel or similar spreadsheet programs; each form is represented by a row and each form field by a column. The field labels in the forms become the header row texts for the spreadsheet columns. All form field types can be handled, except signature fields. This export is available, even if no PDF file is loaded; any open files are not included.
For efficient export, all forms should have the same set of field names. Multi-page forms can be processed. One PDF file per form is recommended, but a single PDF containing a set of assembled forms is also acceptable, providing the form field sets are identical. If there are field differences between forms, all non-identical field names generate columns in the output table. All fields in the resulting table have a generic cell type that accepts any input – use your spreadsheet program to set other cell types (e.g. date, currency, numbers only).
To export data from multiple forms proceed with the following steps.
- Select .
- Click Add Files and select the desired files from a folder.
- Optionally, click Add Files repeatedly to add files from other folders.
- Use Add Files and Remove Files until the file list is ready.
- Select Include most recent list of files to export data from to have all the forms from the last exporting session added to the list.
- Click Export, then specify the output folder, file name and type (CSV or XML).
- In the Export Progress dialog box, click View File Now if you wish to see the result displayed in your spreadsheet application.
- In your spreadsheet application, rename column header texts as desired (for example, needed for check box or radio button fields).
- In your spreadsheet application, use Save As and select a suitable file type (such as Excel Worksheet). If you do not do this, the file remains in the CSV or XML format.
Unify field names before export
Best to settle with unified field names when creating/designing the original form file.
If field names are missing, unsuitable or not unified, you can solve this by editing them in the spreadsheet program after export.
- Open a PDF file that has active form fields.
- Click the Form Controls ( ) tool on the Panel bar to display the Form Controls panel.
- Double-click a form control name in the panel, or select Properties in its context menu.
- Edit Field Name as preferred and click Close.
- Repeat as necessary with more field names and forms.
Troubleshooting with form data export and import
- Determine whether the problem lies with a specific set of forms by processing a simpler set of sample forms.
- If forms were delivered by email, ensure the downloads were complete and made to a local drive. Avoid accessing files directly from an email client or a temporary folder.
- If saving to a network location fails, save to a local folder without security restrictions.
- If saving to one file type fails (for example XML) try the other option (CSV).
- Large forms – hundreds of pages or thousands of fields – may be problematic: split the files into sections.
- Very long texts in a single field may be truncated on export. Excel typically has a cell limit of 256 characters.