Assume you have a Feedback form with a Status field with values "Open" and "Closed". When a feedback/issue is solved, the status is set to "Closed" by the team member and a e-mail is sent to the person who had raised the issue. To do this, we have to add an on update script to theStatus field, as shown below:
Status
(
type = picklist
values = {"Open", "Closed"}
defaultvalue = "Open"
on update
{
if (input.Status == "Closed")
{
sendmail
(
To : input.Your_e-mailid
From : zoho.adminuserid
Subject : "Status of issue with subject " + input.Your_Comments
Message : "The issue is " + input.Status
)
}
}
)