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
![Import/Export Data icon Import/Export Data icon](../All_Images/forms_data_importexportdata.png)
- Select .
- In the Export Form Data As 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
![Import/Export Data icon Import/Export Data icon](../All_Images/forms_data_importexportdata.png)
- Open an unfilled form.
- Select .
- In the Select File Containing Form Data dialog box, 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
![Import/Export Data icon Import/Export Data icon](../All_Images/forms_data_importexportdata.png)
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.
To export data from multiple forms proceed with the following steps.
- Select .
- Click Add and select the desired files from a folder.
- Optionally, click Add repeatedly to add files from other folders.
- Use Add and Remove until the file list is ready.
- Select Include most recent list of files to export 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
- Open a PDF file that has active form fields.
-
Click the Form Controls tool in 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 e-mail, ensure the downloads were complete and made to a local drive. Avoid accessing files directly from an e-mail 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.