setDisabled (Client API reference)

Sets whether the control is disabled.

Control types supported

All except kbsearch control type

Syntax

formContext.getControl(arg).setDisabled(bool);

Parameter

Name Type Required Description
bool Boolean Yes Specify true or false to disable or enable the control.

getDisabled

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).