Form.getControlById

Method of Form

Syntax

Form.getControlById( control_id )

Parameters

Parameter Description
control_id The string that uniquely identifies the appropriate form control.

Description

Returns the MetaScript object corresponding to the form control with the specified ID. Note that this function may only be used for form controls that have explicitly assigned unique identifiers.

Examples

The following example illustrates the use of getControlById:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.