Show/Hide Toolbars

PHPRunner 9.8 Manual

Navigation: Advanced topics > Programming topics > Javascript API > Control object > Methods

PHPrunner32x32     PHPRunner manual


Javascript API: setDisabled()

Scroll Prev Next More

 

Makes control disabled.

Syntax

ctrl.setDisabled();

Arguments

No arguments.

Return value

No return value.

Example

Make control "disabled":

JavaScript OnLoad event

var ctrl = Runner.getControl(pageid, 'Make');

ctrl.setDisabled();

Remarks

Disabled controls will NOT be submitted with the form and will not be saved in the database. Disabled controls will be filled by Autofill feature. You can apply default values to Disabled controls.

See also

Method: setEnabled