Makes the control disabled.
Syntax
ctrl.setDisabled();
Arguments
No arguments.
Return value
No return value.
Example
Make the control "disabled" using the JavaScript OnLoad event:
var ctrl = Runner.getControl(pageid, 'Make');
ctrl.setDisabled();
Remarks
Note: Disabled controls are NOT submitted with the form and are not saved in the database. Disabled controls will be filled by the Autofill feature. You can apply default values to Disabled controls.
See also:
•JavaScript API: Control object > getControl()
•JavaScript API: Control object > setEnabled()
•JavaScript API: Control object > clear()
•JavaScript API: Control object > hide()
•JavaScript API: Control object > reset()
•JavaScript API: Control object