getElement

Returns a specified child object.

Note: This method returns only child objects that are not container objects, such as field or subform .

Syntax

Reference_Syntax.getElement( STRING param1 [, INTEGER param2 ] )

Parameters

param1

A valid string representing the name of the object to retrieve.

param2 (Optional)

An integer value representing the instance of the object to retrieve.

Returns

The specified object.

Applies to

node class class

Version

XFA 2.1

Examples

JavaScript

Subform1.getElement("border");

FormCalc

Subform1.getElement("border")

// Ethnio survey code removed