• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Forms > Creating Combo Box Fields

Creating Combo Box Fields

Combo boxes are pop-up menus with editable text boxes attached to them. The pop-up menu allows the PDF author to define the most common or desired choices for the text box, but the fact that the field is editable allows the user to enter a choice that the author didn't provide.

To define a combo box field:

1.
Choose the Form tool (F) from the Editing toolbar.

2.
Drag to draw the field on the page (Figure 8.25), or click to select an existing field.

Figure 8.25. Draw the field with the Form tool.


3.
When the Field Properties dialog box appears, name the field, and (if you like) type a brief description in the Short Description text box.

4.
Choose Combo Box from the Type pop-up menu (Figure 8.26), and click the Options tab.

Figure 8.26. In the Field Properties dialog box, choose Combo Box as the field type.


5.
In the Item text box, type a value to include in the list.

6.
If you want the form to export a different value for that item to a CGI application, type that value in the Export Value text box.

If you leave the text box blank, the item's name will be exported. If you want the state information to be exported as numbers for computation within a spreadsheet, you could enter a number for each state so that each state could send back a numeric value.

7.
Click the Add button.

That item is added to the list.

8.
Repeat steps 4–6 until you have added all the list items (Figure 8.27).

Figure 8.27. Repeat steps 4–6 until all of the items you want to use in the list are added.


9.
Click the OK button when you've finished.

The field will look just like other fields when the Form tool is active (Figure 8.28). When you switch to the Hand tool, you'll be able to choose an item from the combo box field's pop-up menu (Figure 8.29).

Figure 8.28. The field looks just like the other fields when the Form tool is selected.


Figure 8.29. With the Hand tool selected, you can choose an item from the combo box field's pop-up menu.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint