Hello Everyone,
I seem to be having an issue trying to get my post function custom email to work. Everything appears to work fine if I preview the email through the admin settings but once I put everything in place in my workflow I recieve errors saying the property is not found.
could it be the way I wrote my code ?
<%
if(cfValues['Comment'])
{
out << "Test : ${cfValues['Comment']}"
}
else
{
out << "Test."
}
%>
Try the same not using GStrings ${} feature. So instead
"Test : ${cfValues['Comment']}"
write
"Test " + cfValues['Comment']
Is "Comment" a custom field? If not, you should write transientVars.comment instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.