Please enable JavaScript to view this site.

Process Designer

Navigation: Javascript API > User dialog functions > Dialog element functions > Properties > Change properties

jr_set_disabled(string elementName, boolean disabled)

Scroll Prev Top Next More

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.