Actions Properties are available for all fields. It links user generated events to actions. A user generates events by interacting with the document; the events invoke the actions specified by the user.
Trigger: Determines the type of event that will invoke actions. There are six trigger types:
- Mouse Up: This action is triggered when mouse button is released.
- Mouse Down: This action is triggered when mouse button is pressed.
- Mouse Enter: This action is triggered when mouse cursor first hovers over a field.
- Mouse Exit: This action is triggered when mouse leaves a field.
- On Focus: This action is triggered when the mouse is clicked on or tabbed onto a field.
- On Blur: This action is triggered when the mouse loses focus on a field.
Add Action: Click to add an action to the actions list. The Action dialog box appears. There are two types of actions that can be added: Basic and Form.
Basic Actions allow navigation through a PDF, web page, or file on the file system. The various types of basic actions are described below.
- Jump to Page: Jumps to an existing page in a PDF document specified by the page number field. The current document or other PDF documents may be specified. The scale factor and zoom level may also be set.
- Snapshot View: Sets a rectangle to define the specific region of a PDF page to display.
- Hyperlink: Opens a specific web page or other URL.
- Open File: Opens a file.
Form Actions are related to the fields in the PDF document. It is here that JavaScript calls may be invoked based on a specified trigger.
- JavaScript: JavaScript may be invoked as an action for a trigger. Use this field specify the trigger.
- Reset Form: Resets part or all of the form fields.
- Submit Form: A form may be submitted in PDF, FDF, or HTML form to a URL waiting for submittals.
The Actions List shows the actions to be invoked by the selected trigger. To add a new Action, click the Add Action button beneath the Trigger drop down box. The Basic Action dialog box appears.