2 Replies Latest reply on Dec 13, 2017 4:23 PM by Thom Parker

    event.target.pageNum= help code by detect page

    hackert25684722 Level 1

      i have 2 pdf pages Page 1 and Page 2 on adobe DC.

       

      User have option to duplicate Page 2 and create Page 3.

      Now i want a code to run only on page 3 when user work on page 3.... i try this :

       

      if (event.target.pageNum=1)

      {

      this.getField("Text26").value = event.value;

      }

      if (event.target.pageNum=2)

      {

      this.getField("Text26_1").value = event.value;

      }

       

      but the value takes in Page 1 and Page 2! I want only go to Page 3 if user work in this page........................