How can I allow a user to modify only his own records?

How can I allow a user to modify only his own records?

Zoho Creator updates each record submission with the name of the login user who added the record and the time when it was added. The following code added to the on edit -> validate block of the Script tab will be executed when a record is edited. If the added user name is not the same as the login username, the record is not allowed for editing.

           if (input.Added_User  !=  zoho.loginuser)
{
alert "You can modify only your records";
cancel submit;
}
    • Related Articles

    • How can I allow a user to delete only his own records?

      Zoho Creator updates each record submission with the name of the login user who added the record and the time when it was added. Refer the Help topic Display User Name and Time, for more information. The following code added to the on delete -> ...
    • Creating Candidate Records

      Methods There are multiple ways for creating candidate records in Zoho Recruit, namely; Entering data in the candidate details form: You can manually fill in the Candidate details gathered from various external sources, e.g. trade shows, exhibitions, ...
    • Associating Records

      To attach documents This feature allows you to attach documents, spreadsheets and presentations to candidates. You can attach them in the following ways: Attach from Desktop  Attach from Zoho Docs  Attach from Google Docs  Associate Candidates To ...
    • Approving Records

      Approving Records The import feature and Web forms have an option to enable manual approval of records. When this option is enabled, records imported or gathered through web forms are not added directly to the modules. They need to be approved first ...
    • Approving Records

      The import feature and Web forms have an option to enable manual approval of records. When this option is enabled, records imported or gathered through web forms are not added directly to the modules. They need to be approved first for other users to ...