Friday, April 2, 2010

Reference current page

Could someone tell me what is the best way to reference the current page in javascript.?IE if i have two pages.?I want the button on page 1 to update the field on page 1 and the button on page 2 to update the field on page 2.

Thanks

Reference current page

Each field has a page property. You can use that.

Reference current page

In Acrobat JavaScript, 'this.pageNum' will provide the current focused page when used within the PDF.

If you are tryng to put this number in your page number field on each page, make sure each field has a unique name and you can use the code in the the 'custom calculation script'.

No comments:

Post a Comment