page

Determines the page number that contains a given form design object. If the object spans multiple pages, this method returns the first page the object occurs on.

Syntax

Reference_Syntax.page( OBJECT param )

Parameters

param

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

Returns

An integer representing the logical page number (based on the initial page number) that contains the specified form object. This method returns 0 if the object specified in param cannot be found on the form.

Applies to

Version

XFA 2.1

Examples

JavaScript

xfa.layout.page(this);

FormCalc

xfa.layout.page($)

// Ethnio survey code removed