Avatar

Level 10

Hi,

you can use the page() Method to retrieve the current page number of an object.

Calculate script for a text field:

Returns the page number of the subform 'Chapter2' located on the page named "Page".


this.rawValue = "Chapter 2 - Lorem Ipsum Dolor \t\tPage " + xfa.layout.page(Page.Chapter2);