This function disables an input element.
Parameter |
Type |
Description |
|---|---|---|
elementName |
string |
Name of dialog element |
disabled |
boolean |
true: disabled. false: enabled. If you enter no value here, true will be used automatically. |
If an element is deactivated, the value is not saved in the stored database field when the step is sent.
Please note: You have to use the name of the subtable view and not the name of the dialog element when an element of the type SUBTABLE_VIEW is accessed.
Please note: If a dialogue element is set to Disabled in the Dialogue Designer, it cannot be reactivated via the JavaScript API.