Form.getControls

Method of Form

Syntax

Form.getControls( all = false )

Parameters

Parameter Description
all Pass true to get all form controls, including the ones that do not have a user-assigned ID. New in package 165

Description

Returns form controls as an associative array of { control id: control object } pairs. If not specified otherwise, only form controls that have a user-assigned ID are returned.

Example

The following example uses getControls to hide all controls on the form.

See also

Form.createControlIterator, Form.getControlById

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