Operation Manual
182
Forms
Last updated 4/7/2015
About web forms
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 sets in the CGI application.
Note: CGI scripts must be built outside Acrobat DC, and their creation is not covered by the Adobe Acrobat DC product.
Add submit functionality
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.
1 Choose To o ls > Prepare Form, then select Button in the toolbar, and create a button.
2 Double-click the button to open the Button Properties dialog box.
3 Click the Actions tab, and select Mouse Up from the Select Trigger menu.
4 Select Submit A Form from the Select Action menu, and then click Add.
5 In the Submit Form Selections dialog box, type an entry in Enter A URL For This Link:
• To send the form data to a web server, enter the destination URL.
• To send the form data to an email address, enter mailto: followed by the email address. For example, type
mailto:nobody@adobe.com.
6 Make additional changes to the available options, and then click OK to close the dialog box.
For information on the available options, see the next section.
7 Change settings on other tabs in the Button Properties dialog box as needed, and then click Close.
Submit Form Selections options
FDF 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.
Note: 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.
HTML Exports as an HTML file.
XFDF Exports as an XML file. You can choose to export the form fields data, comments, or both.
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.
Note: 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.
All Fields Exports all form fields even if the form fields do not contain values.










