You can cause an action to occur when abookmark or link is clicked, or when a page is viewed. For example,you can use links and bookmarks to jump to different locations ina document, execute commands from a menu, and perform other actions.Actions are set in the Properties dialog box.
For bookmarks or links, you specify an action that occurs whenthe bookmark or link is clicked. For other items, such as pages,media clips and form fields, you define a trigger that causes theaction to occur and then define the action itself. You can add multipleactions to one trigger.
Learning to Program JavaScript for Adobe Acrobat Posted on January 3, 2017 by Karl Heinz Kremer This is a bit longer than usual, so let me add a table of contents here that allows you to jump straight to the section you are interested in. Thank you for sharing. The point is that I designed a form with script validation on certain fields. If the user use an Adobe Reader with the setting for 'Enable Acrobat Javascript' not checked, those validations using script will not be executed. The form data will not be correct. How to warn user if the setting is not enable? Adobe Acrobat Reader DC software is the free global standard for reliably viewing, printing, and commenting on PDF documents. And now, it's connected to the Adobe Document Cloud − making it easier than ever to work across computers and mobile devices.
TheLocked option prevents the appearance and actions associatedwith an object from being accidentally changed.
Add an action to bookmarks, formfields, buttons, or clips
- Using the Hand tool, right-click the bookmark, and choose Properties.
- Using the Tools > Rich Media > Select Object tool, double-click the link, media clip, or form field, and choose Properties.
- From the Select Action menu, select the action type to occur, and then click Add. You can add multiple actions; actions execute in the order that they appear in the Actions list box.
- (Optional) Select an action in the Actions tab, and use the buttons to reorder, edit, or delete the action.
- Click OK to accept the actions. To close the Rich Media tool, click the cross icon at the right-end of the toolbar.
To enhance the interactive quality of a document,you can specify actions, such as changing the zoom value, to occurwhen a page is opened or closed.
- Select the page thumbnail corresponding to the page, and choose Page Properties from the options menu .
- From the Select Trigger menu, choose Page Open to set an action when the page opens, or choose Page Close to set an action when the page closes.
- Choose an action from the Select Action menu, and click Add.
- Specify the options for the action, and click OK. The options available depend on the action selected.
- To create a series of actions, choose another action from the menu, and click Add again. Use the Up and Down buttons to arrange the actions in the order you want them to occur.Note:If you set an action that switches to FullScreen view on Page Open or Page Close, the next timethe same page opens or closes, Full Screen viewis turned on.
- Close all opened dialog boxes, if any. Click the cross icon at the right-end of the toolbar to close the tool.
Youcan assign the following actions to links, bookmarks, pages, mediaclips, and form fields:
Executesa specified menu command as the action.
Executes a specified action for a multimedia object in thefile (such as playing a sound file). The multimedia object mustbe added to the file before you can specify an action for it.
Plays a specified movie that was created as Acrobat 6-compatible.The specified movie must be embedded in a PDF document.