PDF forms can be useful for submitting and collecting information over the web. This is done by providing several button actions that perform functions similar to some HTML scripting macros. You must have a Common Gateway Interface (CGI) application on the web server to collect and route the data to a database. Any existing CGI application that collects data from forms (in HTML, FDF, or XML format) can be used.
Before you make your forms web-ready, make sure that your form-field names match those set in the CGI application.
CGI scripts must be built outside Acrobat, and their creation is not covered by the Adobe Acrobat product.
Use the Submit A Form action to send form data to an email address or to a web server by specifying a URL. You can also use the submit button to send other files back to a server or database. For example, you can attach scanned images or files to a form. The files are submitted along with the rest of the form data when you click the Submit button.
If your PDF form contains an email-based submit button, you can use the Distribute workflow to facilitate distributing the form to others.
Exports as an FDF file. You can select one or more of the available options: user-entered data, comments, and incremental changes to the PDF file. The Incremental Changes To The PDF option is useful for exporting a digital signature in a way a server can easily read and reconstruct.
If the server returns data to the user in FDF or XFDF format, the server’s URL must end with the #FDF suffix—for example, http://myserver/cgi-bin/myscript#FDF.
PDF The Complete Document
Exports the entire PDF file that is your form. Although this creates a larger file than the FDF option, it is useful for preserving digital signatures.
If the users that fill in the PDF form are using Adobe Reader, you must choose either FDF or XFDF for the Export Format option.
Exports only the form fields you specify by clicking Select Fields and indicating which form fields to include and whether you want to include empty fields.
Convert Date To Standard Format
Exports all form dates in a single format, regardless of how they are entered in the form.
A Reset Form button clears any data a user has already entered in the form. It is like the Tools > Forms > Other Tasks > Clear Form feature, which is available to you when you create and edit Acrobat forms. However, you can set up your reset button so that it clears only specific fields.
As needed, you can open other tabs in the Button Properties dialog box and apply other types of properties to the button.
Use the Import Form Data action to enable users to fill out common form fields, such as name and email address, with data imported from another form. Users can also use the Import Data button to populate common form fields with their personal profile information. Only form fields that match are updated. The fields that do not match are ignored. Before you create an Import Form Data action, set up a form with common information form fields from which to export the data.
The Import Form Data action searches for the data file from which to import data in different locations in Windows than on Mac OS. In Windows, the Import Form Data action searches the Acrobat or Adobe Reader folder, the current folder, the System folder, the Windows folder, My Documents\Adobe\Acrobat, and the folders that are in the PATH statement. On Mac OS, the Import Form Data action searches the Acrobat or Adobe Reader folder and the System Preferences folder.
An export value is the information sent to a CGI application to identify a user-selected form field. You need to define an export value only if both of the following are true:
The data is collected electronically in a database over a company intranet or the web.
The data is different from the item designated by the form field, or the form field is a radio button.
When defining export values, keep the following guidelines in mind:
Use the default export value (Yes) to indicate that a check box or radio button has been selected.
Enter an export value for dropdown lists boxes or list boxes only if you want the value to be different from the item listed—for example, to match the name of the form field in a database. The item selected in the dropdown list box or list box is used as the export value unless a different export value is explicitly entered in the Properties dialog box.
Related radio buttons must have exactly the same form field name but different export values. This ensures that the radio buttons toggle and that the correct values will be collected in the database.