Email notification from field value change?

Email notification from field value change?

I have a hidden picklist on my form named “status” that has three options {"Pending",   "Approved",   "Denied"} and I would like to have different email notification going out to the person who submitted the form when this status is changed. Is this possible? And where can I find some sample code for this? Currently the from generates an email on form submit and the status field is set to pending (hidden field),but I would like it to generate emails when the status changes to  approve or denied with a deny message and a approve message... Any help would be very much appreciated. Thanks

 

http://creator.zoho.com/becomgmt/beco-baseball-tickets/#Form:Ticket_Requests1

 

Status

    (

        type  =  picklist

        private  =  true

        values  =  {"Pending",   "Approved",   "Denied"}

        defaultvalue  =  "Pending"

        width  =  206px