Enable | Disable
Note: This task is applicable only to Zoho Creator.
Overview
The Disable deluge task disables a specified field on the form. The disabled field will be grayed out, and the user will not be able to add data to that field.
The Enable deluge task reverses the Disable action and re-enables a disabled field for users to fill it out in the form.
Note:
- To disable fields for a set of users, you can define field permissions.
Syntax
To disable a field
disable <field_link_name>;
To enable a field
enable <field_link_name>;
Param | Explanation |
---|---|
<field_link_name> | Link name of the field which needs to be disabled or re-enabled. Points to keep in mind for this parameter:
|
This task can be used in the following events
When a record is Created | ||
On Load | Yes | |
On Validate | No | |
On Success | No | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Created or Edited | ||
On Load | Yes | |
On Validate | No | |
On Success | No | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Edited | ||
On Load | Yes | |
On Validate | No | |
On Success | No | |
On User input | Yes | |
Subform on add row | Yes | |
Subform on delete row | Yes | |
When a record is Deleted | ||
On Validate | No | |
On Success | No | |
Other workflow events | ||
On a scheduled date | No | |
During approval process | No | |
During payment process | No | |
In a Custom Function | No | |
In an Action item in report | No |
Example
The following snippet disables the "Total Amount" field.
disable Total_Amount;