You know those forms you worked so long and hard to perfect? Wouldn’t it be nice to wave a magic wand and have them suddenly become interactive fields on PDF forms? Say "Abracadabra!"
One of the most intriguing tools in Acrobat 8 Professional is the Artificial Intelligence (AI) feature that helps you create fields on a document where there are no form fields. Using a set of rules, the program attempts to determine what elements on a page are form fields, as well as the types of field, and their names and placement.
You can use any sort of file that you can convert to PDF, whether text and graphics, an image or a scanned file. If you are using an image, before the page can be evaluated for form-field placement, you must capture the text using OCR.
Note: Read how to scan and capture text in a document in my previous article for AcrobatUsers.com.
Simplifying the form appearance
The design adage “less is more” applies to form creation. Acrobat uses a set of rules to synthesize the placement and types of form fields on a document, but it isn’t infallible. The less contrived the document’s appearance, the easier it is for the program to decipher the contents.
Look at the example in Figure 1. I’ve selected part of the table area using the TouchUp Object tool. While the example is extreme, you can see how many objects make up one row of the table.
Check your document for these elements, and remove or modify them if possible:
- Remove heavy borders around fields
- Delete shaded boxes used to identify boxes and fields
- Remove extra borders on the layout, leaving captions and user-response areas only
- Move captions to the left of user-response areas
Recognizing and naming fields automatically
When the document opens in Acrobat 8 Professional, choose Forms > Run Form Field Recognition to start the synthesis process. Acrobat scans the file, searches for what looks like form fields and draws them on the document (Figure 2).
As shown in Figure 3, other program elements are used in the form-field-design process, including:
- The Document Message Bar, which displays the standard form message; click Highlight Fields on the bar to color the fields on the form.
- The Recognition Report, displayed in the Navigation panels area
- A list of the fields on the Fields Navigation panel (opened manually)
- The Forms toolbar, which lets you toggle between a preview of the form and an editing view where the fields are activated (opened manually)
Tip: To save time, open and dock the Forms toolbar and the Fields navigation panel, shown in Figure 3.
Evaluating recognition results
In addition to drawing the fields on the document page, Acrobat 8 Professional displays a Recognition Report. The report, named Detect Form Fields Report for [filename], contains several sections that are linked together in the report’s Navigation panel, shown at the left of Figure 3.
The sections of the report include:
- The Summary section, which lists the fields identified, as well as suggestions for modifying contents. Click a link in the Summary section to jump to different sections of the report.
- The Introduction explains how the report works, what it shows and how it is used. The Introduction also describes the temporary nature of the report in detail.
- The Detected Form Fields section of the Recognition Report lists the fields by name and by type of field.
- The Hints section of the report includes tips for repairing the form fields. To review the hints, click the [Field type] listing following the name of a form field (Figure 4). The report then displays the “How to Fix [type] Field Form Fields” section of the Recognition Report.
Caution: Be sure to use the report once generated. The Detect Form Fields Report and the Recognition Report panel are temporary. If the file is saved with a different name, the report is discarded. The report isn’t reusable, and can’t be saved. You can’t open the Recognition Report panel.
Preparing the form
Use the Forms tools in Acrobat 8 Professional or move the form into LiveCycle Designer to complete the form’s content. Before distributing the form, take care of some final structural features in Acrobat 8 Professional.
Setting tab order
Tab order refers to the sequence in which the program moves focus from field to field in response to pressing the Tab key.
Note: Tab order isn’t required for form use, but is a courtesy to users. A consistent tab order is useful for those working with forms frequently, and is required for those using screen readers or other assistive devices.
Check the tab order by selecting the first field on the form, and then pressing the Tab key repeatedly. In many cases, the tab order needs adjusting.
Follow these steps to change the tab order:
1. Select the Pages icon in the Navigation panels’ area to display the Pages panel. Select the page thumbnail.
2. Select Options > Page Properties to open the Page Properties dialog box and click Tab Order (Figure 5).
3. Choose an option from the list. The most common method is Use Row Order, as most forms are structured in rows.
4. Click OK to close the dialog box.
5. Test the form: Press the Tab key to shift focus to the next field in top to bottom, left to right order.
Enabling files for use in Adobe Reader
In the past, users working with Adobe Reader could fill out a form and print the form, but they couldn’t save the form data. Acrobat 7 allowed for documents to be commented on in Adobe Reader; Acrobat 8 takes enabling features much further.
Follow these steps to enable the form for recipients using Adobe Reader 7 or 8:
1. Choose Advanced > Enable Usage Rights in Adobe Reader.
2. The Enable Usage Rights in Adobe Reader dialog box opens, outlining the effects of enabling usage rights, including rights to:
- Allow the saving of form data
- Allow the use of commenting and drawing markup tools
- Sign existing signature fields
- Digitally sign anywhere on the page if used in Adobe Reader 8
- Restrict some editing features
3. Click Save Now. Name the file in the Save As dialog box, and click Save.
Distributing the form
Before a form can be distributed and tracked, it must have a Submit action button or script attached to the file, as shown in Figure 6.
Follow these steps to distribute your form:
1. Click Distribute on the Forms toolbar to display the Form Distribution Options dialog box. Choose to either send an e-mail with the form attached, or save the file for later distribution. Click OK to close the dialog box.
2. If you choose to send the form, the Distribute Form wizard opens, shown in Figure 7.
3. Step through the panes of the wizard, defining these elements:
- Specify a return e-mail address; the default is to use the address specified in the Submit button
- Name a the data-collection file; Acrobat creates a file by default using the file’s name, with “dataset” and a four-digit number suffix
- Specify the recipients for the form by typing e-mail addresses or selecting addresses from your system’s Address Book
- Read and modify the boilerplate text used for the e-mail invitation message; select and load an alternate text file if desired.
4. Click Done. Follow the prompts to send the e-mail invitations.
Tip: You can add forms you work with to a storage library; on the final Distribute Form information dialog box, click Add to my form library.
Tracking a form
The challenge of working with multiple items like forms is how to manage them and remember where you are in your workflow. Fortunately, you can turn to the Forms Tracker in Acrobat 8 and Adobe Reader 8 to manage form distribution and collection.
Follow these steps to initiate a workflow in the Forms Tracker:
1. Choose Forms > Track Forms from the menu or click the Forms Task button and select Track Forms to open the Forms Tracker dialog box (Figure 8). The Tracker dialog box contains separate panels for the Review Tracker, Forms Tracker, and RSS Feeds.
2. Choose an option from the menu in the left pane of the dialog:
- Click To Do to display forms that are active. A form that has been created, but not sent, for example, is included on the To Do list.
- View the History listing to see forms in progress, dates for actions, such as sending or receiving, and outstanding actions, shown in Figure 8.
- For managing large numbers of forms, type a term in the Search field at the top of the dialog box and click Search. Select a form from results returned in the Search Results view.
- Read the list of forms in the library that include the forms’ titles and dates.
3. Select the form you want to use in the list at the right side of the dialog box and then click Open to view the file in Acrobat 8 Professional.
4. Close the dialog box.
Tip: When you have finished working with a form, click Remove to delete the form from the Form Tracker. It’s easier to track your workflows if only active forms are listed.
Collating and viewing returned data
Your form’s e-mail recipients open the form in either Acrobat or Adobe Reader. Information on completing the form is shown in the Document Message Bar (Figure 9). When completed, respondents can either click the Submit button added to the form, or the Submit Form button on the Document Message Bar to automatically return the form.
Aggregating and viewing the data
Completed forms are returned to the e-mail address specified in the Distribute Forms wizard. Your workflow determines how and when you assemble returned files. You may add files daily, or at the end of a form’s return period.
Follow these steps to add the form data to a dataset file:
1. Double-click a returned form to open it in Acrobat 8 Professional. The Add Completed Form to Data Set dialog box opens.
2. The “Add to an Existing Data Set” option is selected by default, and the dataset file associated with the form is shown in the field.
3. Click OK to close the dialog box. The dataset file, created as part of the Distribute Form wizard’s function, opens in Acrobat; the original datasheet file is used as the PDF package’s cover sheet (Figure 10).
4. Click Import Data to locate and select additional data files to include in the dataset.
Exporting the data
Acrobat lets you amalgamate the returned data into a CSV (comma-separated value) file for use in a spreadsheet or database table.
Follow these steps to view form results in an Excel spreadsheet:
1. On the Document Message Bar of the PDF, click Export Data to open the Select Folder to Save File dialog box. The file is named according to the PDF Package and saved in CSV format by default.
2. Specify the storage location and file name, and click Save to save the file.
3. Open your spreadsheet or database program.
4. Choose File > Open and locate the CSV file. Click Open to load the file into the spreadsheet.
Each row on the spreadsheet represents one returned form. The columns on the spreadsheet are named using the form’s field names (Figure 11).
I’d like your feedback:
Are you actively working with forms? Have you tried the Form Field Recognition process? How was your experience? Do you use the Form Tracker? Any tips?