Hi,
I want to be able to send an email automatically based on the status of a dropdown. If the user chooses 'Request' from the dropdown it sends an email (and sets the status of the dropdown to 'Awaiting' however I haven't got to that stage yet)
if(REF_Status == "Request")
{
sendmail
[
subject: This is an email
message: Hello
]
}
I keep getting an error when trying to put the sendmail function in the if statement? What am I doing wrong?