User manual

Changing list box properties
The properties for a list box form field are similar to the properties for a combo box.
However, the Selection Change tab allows you to assign a JavaScript action that is
executed any time a user selects or switches between items in the list. For example, you
can play a sound or display an image as the user changes selections.
To change list box properties:
1. In the List Box Properties dialog box, click the Options tab.
2. Enter a name in the Item field.
3. In the Export Value field, enter a number value that represents the chosen item if it is
exported (optional) to a CGI application. If a value is not entered, the item name is used as
the exported value. (See Defining CGI export values.)
4. Click Add.
Note: The highlighted item in the Item List box appears as the default selected item in the
list box field. To change the default item, select another item from the list.
5. Repeat steps 2 through 4 to add items to the list.
6. Use the Up and Down buttons to rearrange the items in the list, or the Delete button to
remove items from the list.
7. Do any of the following:
Select Sort Items to sort the Item List numerically and alphabetically. A numeric sort (if
applicable) is performed before an alphabetical sort.
Note: If you select Sort Items, the Up and Down buttons are disabled.
Select Multiple Selection to allow the user to select more than one item in the list.
Select Commit Selected Value Immediately to save the value as soon as the user selects it.
This option is not available if the Multiple Selection option is selected.
8. Click the Selection Change tab, and then select Execute This Script if you want a
JavaScript to start when the user changes the list selection. Click Edit, and then copy and
paste a predefined script or enter the script directly. To access the Acrobat JavaScript
Scripting Reference, go to http://partners.adobe.com/links/acrobat (English only) on the
Adobe website.
9. Click Close.