Interactive
events initiate as a direct result of form filler actions, which
makes these events useful for a variety of calculation and scripting
tasks. For example, you can add a script to the mouseEnter event
for a text field that changes the border color of the field to blue
and a script to the mouseExit event that changes
the border color back to the original color. This action creates
a highlighting effect when form fillers move the pointer over the
field to visually assist them while filling the form. Interactive
events are also useful for changing form data in response to a form
filler selection. For example, you can add a script to the change event
for a drop-down list that updates the data values in multiple fields
in response to the value the form filler selects in the drop-down list.
The following list contains the interactive events, which are
available from the Show list in the Script Editor:
change
click
enter
exit
mouseDown
mouseEnter
mouseExit
mouseUp
postOpen
postSign
preOpen
preSign
The following image displays
the general flow of events for form fillers who use the mouse to
select an object and change its value.
Note: This
image provides a general flow of events; however, certain form filler actions
and form objects can cause alternate event ordering. For example,
if a form filler selects a value from a drop-down list, the mouseExit event
occurs after the click event but before the change or full events.
Similarly, if a form filler selects a field, holds down the mouse
button, and then exits the field while still holding down the mouse
button, the mouseUp event occurs out of the order described
in this image.
The
following image displays the general flow of events for form fillers
who use the keyboard to select an object and change its value.
|
|
|