Rahul Hundet commented on Jan 24, 2014

Re: Sending an email after a user submits a form

I want to change the behavior of the email that is sent after form submission. I have to remove the form items/elements from email which are not populated (doesnt have a value). Is there a way we can change behavior of email and some how make it generic. For example,

I add a field say "Age" in the email as below,

Age: {age}

However, I don't want to include "Age" if age is blank, something like this,

If ({Age != ""}) {

Age: {age} // do not include age in the email if age is blank.