Quantcast
Channel: Zoho Creator Knowledge base » Form Actions
Browsing index pages (17 articles)
↧

Can I restrict entries to my Form only from the admin user. If yes, how?

Yes, you can restrict entries only from the admin user. In the following code, Added_User stores the name of the user who added the current record and zoho.adminuser returns the name of the admin...

View Article


How can I restrict entries to my Form only from registered members?

The count function in Deluge Scripting enables you to count the number of records in a Form (table) that satisfies the given criteria. Using the count function, you can check if an entry already...

View Article


How can I restrict entries to my Registration Form based on a given date?

Assume you have a Registration form to register for a specific course and the registration is open till 30th Dec 2009. To restrict entries from being submitted after this date, use the...

View Article

How can I restrict the number of registrations to my form?

The following script added to the on add – validate block of the Script tab, checks if the number of records in the Registration form is equal to or greater than 20. Here, the count function is used...

View Article

How can I check for duplication of records using Script?

The following sample code added to the Form actions ->on add ->on validate block and Form actions. ->on edit ->on validate block of the Script tab, will check if the same team member is...

View Article


I have configured an “on success”script with the “send mail”task with...

If your Form is accessed by users without logging in to Zoho Creator, the variable zoho.loginuserid will be set as “Public”. As “Public” is not an email address, the send mail action fails to execute. …

View Article

How to convert Date format in Deluge Script

To convert the date format from “dd-MMM-yyyy” to “yyyy-MM-dd”, change the string with first format to date. Then convert that date object to a string specifying the second format. The below is the...

View Article

Passing Parameters via URL

Passing parameters to Zoho Creator components via URL is possible. The below article explains how it is done for different components.  Form fields Form fields can accept parameters via URL. See this...

View Article


On Delete ->On Success

On Delete ->On Success, as the name suggests is executed after a record is successfully deleted. You can write your own script block in this part, like sending an email (openUrl is not supported...

View Article


On Delete ->On validate

On Delete ->On validate section validate before deleting any records from the database.  If you try to delete any record from...

View Article

On Edit ->On Success

On Edit ->On Success section in Deluge is used to execute script actions after a record is updated in the database. Sending an email, opening a new page are some examples. If you edit any record at...

View Article

On Edit ->On Load

On Edit ->On Load script section in Deluge is executed immediately after the Edit Form loads. See https://creator.zoho.com/sampleapps/script-actions/#View:On_Load_View and click on Edit next to any...

View Article

On Edit ->On Validate

On Edit ->On Validate section in Deluge is used to write the Form validation scripts when a record is edited. You can check for field values and tell the user to enter the right value. This part is...

View Article


On Add ->On Success

On Add ->On Success section in Deluge is used to execute script actions after a record is added to the database. Sending an email, opening a new page are some examples. In the sample Form at...

View Article

On Add ->On Validate

On Add ->On Validate section in Deluge is used to write the Form validation scripts. You can check for field values and tell the user to enter the right value. This part is executed after user...

View Article


On Add ->On Load

On Add ->On Loadscript section in Deluge is used to execute your custom Deluge scripts when you add a record through a Zoho Creator Form. This part is executed immediately after the Form loads.  See...

View Article

Can I lock a record that is being edited, and restrict more than one user...

Yes, with Deluge Scripting you can lock a record that is being edited as described in the steps given below: 1. Create a Form, for example, with name “LockedID” with a number field to store the ID...

View Article

Browsing index pages (17 articles)


Latest Images