if((input.Type_of_Sign.toString() == "In-Store") && (input.Type_of_Sign.toString() != "Event/Trade Show"))
{
sendmail
[
from:zoho.adminuserid
to:zoho.adminuserid
subject:"New signage request"
message:"Signage request details:<br />\n<br />\nName: " + input.Name + "<br />\nDepartment: " + input.Department + "<br />\nDate: " + input.Date_field + "<br />\nType of Sign: " + input.Type_of_Sign + "<br />\nIn-Store Signs requested: " + input.In_Store_signs + "<br />\nDetail of Sign: " + input.Detail_of_Sign + "<br />\nDetail of copy: " + input.Provide_Detail_of_Copy + "<br />\nNavision SKU(s): " + input.Navision_sku_s + "<br />\nProduct Link (if applicable): " + input.Product_link_if_applicable + "<br />\nFile attached: " + input.Attach_file_for_details_and_or_image
content type:HTML
]
}
if((input.Type_of_Sign.toString() == "In-Store") && (input.Type_of_Sign.toString() == "Event/Trade Show"))
{
sendmail
[
from:zoho.adminuserid
to:zoho.adminuserid
subject:"New signage request"
message:"Signage request details:<br>\n<br>\nName: " + input.Name + "<br>\nDepartment: " + input.Department + "<br>\n<br>\n<br> Date: " + input.Date_field + "<br>\nType of Sign: " + input.Type_of_Sign + "<br>\nIn-Store Signs requested: " + input.In_Store_signs + "<br>\nEvent/Trade Show signs requested: " + input.Event_Trade_Show_signs + "<br>\nDetail of Sign: " + input.Detail_of_Sign + "<br>\nDetail of copy: " + input.Provide_Detail_of_Copy + "<br>\nNavision SKU(s): " + input.Navision_sku_s + "<br>\nProduct Link (if applicable): " + input.Product_link_if_applicable + "<br>\nFile attached: " + input.Attach_file_for_details_and_or_image
content type:HTML
]
}
if((input.Type_of_Sign.toString() == "Event/Trade Show") && (input.Type_of_Sign.toString() != "In-Store"))
{
sendmail
[
from:zoho.adminuserid
to:zoho.adminuserid
subject:"New signage request"
message:"New signage request details<br />\n<br />\nName: " + input.Name + "<br />\nDepartment: " + input.Department + "<br />\nDate: " + input.Date_field + "<br />\nType of Sign: " + input.Type_of_Sign + "<br />\nEvent/Trade Show Signs requested: " + input.Event_Trade_Show_signs + "<br />\nDetail of Sign: " + input.Detail_of_Sign + "<br />\nDetail of copy: " + input.Provide_Detail_of_Copy + "<br />\nNavision SKU(s): " + input.Navision_sku_s + "<br />\nProduct Link (if applicable): " + input.Product_link_if_applicable + "<br />\nFile attached: " + input.Attach_file_for_details_and_or_image
content type:HTML
]
}
Type of Sign field is a checkbox field, which allows multiple things to be checked off. I am trying to trigger an email to be sent when both of the checkboxes are ticked off.