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

Lesson 14. Creating PDF Forms > Validating text/numeric fields

Validating text/numeric fields

To ensure that correct information is entered into form fields, use Acrobat's field validation feature. For example, if a response needs to be a number with a value between 10 and 20, you can restrict entries to numbers within this range. Here you will limit the price of instruments to no more than $1,000.

1.
From the Forms toolbar, select the Text Field tool ().

2.
In the Order Form table, move your cursor to the second column from the left, with the heading of Price Each. Position the crosshairs at the upper left corner of the first empty cell at the top of this column. Click and drag downward and to the right to create a field that completely fills the cell. The Text Field Properties window opens after drawing the field.

3.
Click the General tab of the Text Field Properties window. For Name, enter Price and for Tooltip, enter Price per item. Leave the other settings in this tab unchanged, and keep the window open.

4.
Click the Appearance tab and for Font Size, choose 10. Leave the other settings in this tab unchanged, and keep the window open.

5.
Click the Options tab and for Alignment, choose Center. Leave the other settings in this tab unchanged, and keep the window open.

6.
Click the Format tab and set the following:

  • For Select format category, choose Number.

  • For Decimal Places, choose 2.

  • For Separator Style, choose 1,234.56 (the default).

  • For Currency Symbol, choose Dollar ($).

Leave the other settings unchanged, and keep the window open.

7.
Click the Validate tab, then choose the radio button to select Field value is in range. In the range fields, enter a value of 0 into the From field and 1000 for the To field.

8.
Click the Close button to close the Text Field Properties window.

9.
Right-click (Windows) or Ctrl-click (Mac OS) the text field price you have just created, and then choose Create Multiple Copies from the contextual menu. The Create Multiple Copies of Fields window opens.

10.
In the Create Multiple Copies of Fields window, choose the following:

  • For Copy selected fields down, enter 8.

  • For Copy selected fields across, enter 1.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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