Importing and Exporting 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.

 

To export form data from a single opened, filled form

import or export form data icon

  1. Choose Forms > Data > Import/Export Data > Export Form Data

  2. In the Export Form Data As dialog box, specify the name and file type.

  3. Click Save. Your data is stored at the defined location and file type.

To import form data into a single form

  1. Open an unfilled form

  2. Choose Forms > Data > Import/Export Data > Import Form Data

  3. 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

  4. 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.

Exporting 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.

To export data from multiple forms

export data icon

  1. Choose Forms > Data > Import/Export Data > Export Form Data from Multiple Forms.

  2. Click Add and select the desired files from a folder.

  3. Click Add repeatedly to add files from other folders.

  4. Use Add and Remove until the file list is ready.

  5. Select the checkmark Include most recent list of files to export from to have all the forms from the last exporting session added to the list.

  6. Click Export, then specify the output folder, file name and type (CSV or XML).

  7. Click View File Now if you wish to see the result displayed in your spreadsheet program.

  8. Rename column header texts as desired (needed for e.g. checkmark or radio button fields).

  9. Use Save As and choose a suitable file type (e.g. Excel Worksheet). If you do not do this, the file remains in the CSV or XML format.

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 unify field names before export

If field names are missing, unsuitable or not unified, you can solve this by editing them in the spreadsheet program after export.

 

To do it in the PDF files before export, open a PDF file that has active form field:

form controls icon

  1. Click the Form Controls tool in the Panel bar to display the Form Controls panel.

  2. Double-click a form control name in the panel, or by right clicking the form field on the PDF and selecting Properties.

  3. Adjust the Field Name to the required text and click Close.

  4. Repeat as necessary with more field names and forms.

Such problems can be avoided when creating/designing the original form file.

 

Problem solving: