setLabel (Client API reference)
Sets the label of the control.
Control types supported
All
Syntax
formContext.getControl(arg).setLabel(label);
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label of the control. |
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the label of the control.
All
formContext.getControl(arg).setLabel(label);
| Name | Type | Required | Description |
|---|---|---|---|
| label | String | Yes | The new label of the control. |