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

Lesson 10. Creating Forms > Modifying a list box

Modifying a list box

A list box in the upper right of the form provides viewers with a list of workshops from which they can choose. The list box was created much in the same way as the Country pop-up menu. You'll make several changes to the list box. First you'll specify that the list box display six items rather than five.

1.
Click the list box to select it. The Inspector changes to the Form List Box Inspector.

In the Form List Box Inspector, notice how the items for the list box have been entered in the same way as the Country pop-up menu. Each item has a specified label and value.

2.
Enter 6 for Rows, and press Enter or Return. This will increase the rows (or items) visible in the list box to six.

Now you'll make the list box into a multiselection form field, so that users can select more than one workshop.

3.
Select the Multiple Selection option.


Selecting list box



Setting options in Form List Box Inspector


Now you'll add three more items to the list box.

4.
Click New to create a new item. In the first text box at the bottom of the Form List Box Inspector, enter History of Poetry, and press Tab. In the second text box, enter Workshops_History, and press Enter or Return.

5.
If necessary, scroll down the Focus list box in the Form List Box Inspector to view the item you just added. (As an alternative, you can increase the size of the Inspector by dragging its lower right corner.)

6.
Click New to create another new item, and enter European Poetry as its label and Workshops_European as its value.

7.
Click New to create another new item, and enter African Poetry as its label and Workshops_African as its value.


Creating additional labels and values in Focus list box


8.
Choose File > Save to save the page.

Now you'll preview the page in Adobe GoLive to verify that the list box works as it should.

9.
Click the Layout Preview tab in the document window. To select more than one item in the list box, click the first item and then Command-click (Mac OS) or Ctrl-click (Windows) to add additional items to your selection. You can also Shift-click to select a contiguous range of items in the list.

10.
Click the Layout Editor tab in the document window to return to the Layout view.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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