2 Replies Latest reply on Apr 4, 2011 12:42 PM by gkaiseril

    function of input on acrobat js?

    blind564

      exist some function on acrobat js where the user can input a text a script.

      i hope that the function exist.

        • 1. Re: function of input on acrobat js?
          try67 MVP & Adobe Community Professional

          Yes: app.response()

          • 2. Re: function of input on acrobat js?
            gkaiseril MVP & Adobe Community Professional

            As noted the simplest is the 'app.reasons' method. There is also a much more complex dialog object.

             

            If you want to add JavaScript code to a PDF there are any number of places these lines of codes could be entered depending upon when you what this code to run. The Acrobat JS API Reference is available for for free through Adobes Developer Connection for Acrobat.

             

            If you want to use JS to insert some JS code, you can use the doc object 'addScript' method, the doc object 'setAction' method, or the field object 'setAction' method,

             

            Acrobat includes a JS editor or you can use an external editor by setting the program in Acrobat's presences