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

Lesson 10. Creating Forms > Adding address fields

Adding address fields

Now you'll add three text fields to the table that visitors will use to enter their e-mail address and postal information. To save time, you'll begin by copying and pasting the label and text field from the second cell of the table to the third, fourth, and fifth cells.

1.
In the document window, select the contents of the second cell in the table. (The second cell contains the Name label and the text field that contains the text “Enter name here.”) An easy way to select the contents is to place the insertion point in the cell, and then choose Edit > Select All.

2.
Ctrl-drag (Windows) or Option-drag (Mac OS) from the second cell down to the third cell. The contents of the second and third cell should now match.

3.
Ctrl-drag or Option-drag from the third cell down to the fourth cell. The contents of the third and fourth cells should now match.

4.
Ctrl-drag or Option-drag from the fourth cell down to the fifth cell. The contents of the fourth and fifth cells should now match.

5.
Change the label text in the third cell to E-Mail, change the label text in the fourth cell to Address 1, and change the label text in the fifth cell to Address 2.

6.
In the third cell (with the “E-Mail” label), select the text field (not the text). In the Form Text Field Inspector, enter emailField for Name.

7.
Delete the text in the Value (Windows) or Content (Mac OS) text box. Most viewers will understand what to enter in this text field by following the example set by the name text field. Alternatively you could edit the Value (Windows) or Content (Mac OS) text box by replacing the word “name” with “e-mail address.” Leave the Visible and Max entries at 20 and 40, respectively.

Selecting text field

Specifying its properties

8.
Select the text field in the fourth cell with the “Address 1” label. In the Form Text Field Inspector, enter address1Field for Name. Delete or change the text in the Value (Windows) or Content (Mac OS) text box. Leave the Visible and Max entries as is.

9.
Select the text field in the fifth cell with the “Address 2” label. In the Form Text Field Inspector, enter address2Field for Name. Delete or change the text in the Value (Windows) or Content (Mac OS) text box. Leave the Visible and Max entries at 20 and 40.

Notice that every text field has an Is Password Field option in the Form Text Field Inspector. You select this option if you want a viewer to enter a password into the field. For this lesson, you'll leave it blank.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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