Processing Form Data

PDF Applications for Submitting Forms

There are several PDF tools one can use to fill out and submit a form.

Kofax Power PDF for Mac supports submitting forms in HTML, XFDF, and PDF formats. They do not support submitting forms in FDF format. A user can download the free demo of the application and fill and submit a form.

Preview does not support submitting forms. Forms created in Kofax Power PDF for Mac will show an introductory page explaining this and offering a download link for Kofax Power PDF for Mac.

Adobe Reader supports submitting forms in HTML, FDF, and XFDF formats.

Adobe Acrobat supports submitting forms in HTML, FDF, XFDF, and PDF formats.

Kofax Power PDF supports submitting forms in HTML and FDF formats. When XFDF is specified, Kofax Power PDF will submit in FDF format.

Basic Form Data Collection and Processing

Once a user clicks the submit button on the form, the data entered into the fillable fields is packaged in XFDF format and sent to the designated location, i.e. a URL or an email address. To set up the submit button, see Creating Forms. Please note that XFDF is the only available option with the submit button.

When a user submits a form via email, you, the form creator, will receive an email with an XFDF file containing the filled content of the form. View this data by applying it to the original form. Do this by opening a blank copy of the form, then running the script: ”Process XFDF“. Download it from here:

https://cdn.smilesoftware.com/Process_XFDF_1.0.zip

Why XFDF?

Of the available formats, XFDF is the least proprietary and the easiest to post-process. It would be great if a simple comma-separated value (CSV) or tab-separated value (TSV) format were available, but these are not part of the PDF specification and therefore cannot be offered.

Data Formats

XFDF (XML Forms Data Format) is very flexible because it's basically just the form contents wrapped in XML. This makes it easy to parse with other tools.

FDF and PDF are used with forms that are submitted within the Adobe ecosystem. Post-processing FDF files with anything other than Adobe products is difficult and not recommended.

HTML is handy if one already has backend form processing scripts and wants to adapt them to handle PDF forms. Otherwise, it is neither as regular nor as easy to post-process as XFDF.

References:

XFDF Specification:
https://www.iso.org/obp/ui/#iso:std:iso:19444:-1:ed-1:v1:en

FDF Specification:
https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_archives/PDFReference.pdf