0 Replies Latest reply on Feb 11, 2018 1:01 PM by pdfUser1

    setFocus help?

    pdfUser1 Level 1

      I'm using this script that when opens doc to the first page then automatically goes to the second page. Works fine, but the first page has text on it I would like to be able to read but the doc goes to the second page so fast there isn't enough time to read the text on the first page. What I need help with is how to change this script that would open to the first page (say for 5 seconds) then go to page two? Can someone tell me how to do this? Thanks.

       

      Here's the script I'm using and have it in the doc level:

      if(this.getField("Counter").value>3)

          {this.getField("Counter").setFocus();}

       

      I tried to change the "3" to "5" (or higher) but nothing seems to work.