24 Replies Latest reply on Sep 29, 2013 10:43 PM by mdt2013

    Need help with PDF Template page numbering!

    mdt2013

      Template page can be added and deleted by bottons in PDF. Now  I would like to show the current page number of the template in a Textbox "Pagenum". This textbox is also on the template.

       

      Therefore I wrote  the JavaScript - Set Document Actions - Document Did save, in the following way: 

       

      event.value = "Page " + (this.pageNum+1) + " of  " + this.numPages 

       

      However after saving the document the page number value is not shown in the textbox on the template. How I can make the Set Document Actions - Document Did save properties to show the needed value in the Textbox "Pagenum"?

       

      Is there anybody, who can help me? Thanks in advance!

       

      BR

      Florian