index

Returns the position of this node in its collection of like-named, in-scope nodes.

If the node has no name, the position in its like-class named collection is returned.

Syntax

Reference_Syntax.index = "integer"

Values

Type

Values

Integer

An integer representing the 0 based index position of the current object relative to objects of the same name within the same scope.

Applies to

tree class class

Version

XFA 2.1

Examples

JavaScript

Subform1.parent.index;

FormCalc

Subform1.parent.index

// Ethnio survey code removed