absPage

Determines the page of the form that a given form design object first appears on.

Syntax

Reference_Syntax.absPage( OBJECT param )

Parameters

param

The fully qualified reference syntax expression of one of the following form design objects: field, draw, subform, area, pageArea, contentArea.

Returns

An integer representing the page of the form (0-based).

Note: If a subform is hidden, the fields residing in it will not be found and the method does not return the page number. However, if the subform is visible but the fields in it are hidden, the method returns the page number on which fields reside.

Applies to

Version

XFA 2.1

Examples

JavaScript

TextField2.rawValue = xfa.layout.absPage(this);

FormCalc

TextField2 = xfa.layout.absPage($)

// Ethnio survey code removed