In this tutorial, learn how to create online forms (sometimes called HTML forms or Web forms) more easily by taking advantage of automated features in Acrobat Std. or Pro. version 9.
Adobe Acrobat software has the ability to recognize form fields, making it faster and easier to create dynamic forms in PDF. If you follow some basic guidelines when designing electronic forms in authoring programs, such as Adobe InDesign or Microsoft Word, you can significantly improve the auto field detection process.
The auto field detection feature uses an algorithm to determine when field objects can be created in a form. The algorithm can process electronic forms from scanned documents and certain native document files. The detection process looks for the following types of form design elements:
Auto field detection does not process combo boxes (sometimes called drop-down lists), list boxes, and barcodes.
By following certain form design practices during the authoring process, you can significantly improve the auto field detection results and substantially reduce the time it takes to develop interactive PDF forms.
Results of running auto field detection on a file that has no existing form fields
Auto field detection was significantly improved in Acrobat 9 and the 9.1 update. To initiate the auto field detection process on an existing PDF in Acrobat 9 choose Forms > Add or Edit Fields. In Acrobat 8 Professional, this feature was initially introduced as Run Form Field Recognition (Forms > Run Form Field Recognition).
Next, a dialog box opens and prompts you to decide whether to run auto field detection. Clicking Yes starts the automatic field detection process.
PDF documents that originate from scanned images automatically go through optical character recognition (OCR) first. Running OCR does not modify the original content—the content still appears as an image. The page only changes in the addition of form field annotations. The auto field detection process can look for text including special characters, such as boxes, circles, and horizontal lines, from fonts such as Zapf Dingbats, Wingdings, and Webdings. Graphic objects that are used to design forms, such as horizontal and vertical lines and stroked rectangles, are also analyzed in scanned documents.
To process native documents, such as Word or InDesign files, for auto field detection, open the file using the Acrobat 9 Form Wizard (Forms > Start Form Wizard) and select “An existing electronic document” in the Create or Edit Form dialog box. The Form Wizard will convert the document to PDF and auto detect form fields in one step.
Wizard dialog box
In existing PDF files (or native files that have been converted to PDF), the auto field detection process looks for the same objects as scanned documents, as well as rectangles (hollow and filled), diagonal lines forming a diamond-shaped appearance, and curved lines forming a circular appearance.
After form field detection, field names are assigned to each object. For objects such as underlines, text boxes, and check boxes, the text adjacent to the form field is used as the name. For radio buttons, group labels are used to determine the field names. Field names in a table are based on information inside the cell or in the column header.
After the form fields are named, the actual form fields are created and the tab order is set based on the interpreted reading order of the form. If the PDF is tagged for accessibility, new annotations are added to the structure tree.
The auto field detection process looks for certain basic form design elements. To help improve the process, here are some general tips to consider when authoring a form.
The auto field detection feature looks for specific objects to convert to form fields. For example, underlines, text boxes, and clearly delineated tables are converted to text fields. By default, text fields are created with the font size set to Auto, which means text in the field will shrink to fit the field as data is entered. The default font is Helvetica. Stroked square-, circular-, or diamond-shaped objects indicate check boxes. Circular objects or numbered buttons adjacent to specific text labels indicate radio buttons, and the word signature is interpreted as a digital signature field. When creating specific form objects during the form authoring process, review the following suggestions to improve auto field detection.
Although auto field detection can significantly reduce the time it takes to create an interactive form, not all forms are suited for this feature. For forms that contain complex tables (with rows and columns that are calculated), using hierarchical field names (such as total.0, total.1, and so on) makes it easier to calculate formulas as well as duplicate and rename fields. Since the auto field detection process names the form fields based on text labels next to the form objects, the field names are not hierarchical. Therefore, if you have a form that requires hierarchical field names, you should manually insert them.
After running the auto field detection process on a form, check it to make sure the correct fields have been created. You might need to perform some manual steps to complete the form. For example, date and numeric fields are not automatically detected. Use Form Editing mode to add, edit, or delete fields.
Dialog box that appears when auto field detection is complete
If auto field detection does not run on a particular form, review these troubleshooting tips:
Standards navigation panel
Once you have created a form with the help of auto field detection, you may find the need to update the form at some point. Rather than starting from scratch, consider using the Document > Replace Pages command in Acrobat to update pages as needed as a substantial time-saver.
Creating interactive PDF forms does not have to be a daunting task. By following some basic guidelines during the form design stage, you can make auto field detection in Acrobat do much of the work and significantly reduce the time it takes to produce your forms.
Download tutorial [PDF, 1MB]
Please Log in to provide feedback on this tutorial.