Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.