Enable And Disable
The Disable task is used in On user inputfield action script and on load form action script to disable Form fields, when not required to be edited by the user. The field will be available for viewing to both the owner of the application and to people with whom you are sharing the application, but cannot be edited. The Enable task is used to enable a field for editing, that was previously disabled.
enable <field name>;
disable <field name>;
In the following sample code, the date field is set with zoho.currentdate in the on load script and disabled from being edited by the user.
input.Date_of_Joining = zoho.currentdate;