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

THE JAVASCRIPT EDITOR

Actions in Acrobat are handled using Adobe's own version of JavaScript. You can attach scripts to buttons or other form objects using the Run a JavaScript option in the Actions tab when editing these objects' Preferences. Keep in mind that the Adobe Reader doesn't support custom JavaScript, so if you intend your form to be filled using the Adobe Reader, you should avoid using custom scripts.

Another way to use JavaScript is by choosing Advanced, JavaScript, Document Actions. Document Actions are basic states that Acrobat watches to trigger JavaScripts. You can use a JavaScript pop-up, for example, to thank your customers for filling out a survey form when they close it (see Figure 44.23).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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