I have some scripts under the on success of the form being submitted through Zoho Creator. Please note that the 'Cascaded_To' field is actually names of users with email addressees. I would like email notification be sent to the user being selected in the 'Cascaded_To' field.
The data is successfully submitted through the form. However there is no email notification to the user being selected in the 'Cascaded_To' field including other email addresses specified in the 'To' in the sendmail block.
if(input.Action_Feedback_required == "Yes")
{
sendmail
[
from :zoho.loginuserid
subject :"Action/Feed required within" + input.Timeframe_for_feedback + "days for" + input.Subject_Matter
message :"Dear" + input.Cascaded_To + "Your action and/or feedback is required for the above. If you have done so please inform the CEO's office"
Attachments :view:Correspondence_Report as PDF
]
}