pageCount Determines the number of pages of the current form. Syntax Reference_Syntax.pageCount() Parameters None Returns An integer representing the total number of pages of the form. Applies to Model Object Layout Model layoutPseudoModel Version XFA 2.1 Examples JavaScript xfa.layout.pageCount(); FormCalc xfa.layout.pageCount()