getItem

gives access to the object of Form control

object getItem(string name|id);

Parameters

name|idstringthe name of a Form control or its id (if the name attribute is not defined in the config of the control)

Returns

objectthe object of the control

Example

form.getItem("colorpicker").setValue("#02F7C6");

Related samples

See also
Change log

added in v6.2

Back to top