5 Replies Latest reply on Feb 15, 2012 10:27 AM by try67

    Javascript  Acrobat on my form works, until someone else tries to use it how can I resolve this?


      I created a form with a java script to rotate the page to fill in the rest of the form.  This works fine on the computer I created it on. However, when I distribute the form, whomever opens it and clicks on the Java script button to rotate the page, they get an error. Is there a way to fix this?


      /* Rotate all pages (or page range) in the document */


      // Modify nStart, nEnd and nRotate to change script logic


      nStart = 0 // first page to rotate

      nEnd = this.numPages - 1; // last page to rotate

      nRotate = 180 // allowed rotations: 0, 90, 180, 270


      try {

           if (this.numPages > 0) {   






      app.alert("Processing error: "+e)