Oct 17th, 2011, 8:22 PM
Hi Mark,
Ah, the problem is the hyphen. Form fields should only ever have a-z, A-Z, 0-9 and underscores. Any other characters confuse server-side code, or get stripped or converted.
In this instance, Smarty is trying to do math on your email template ($ANSWER_e minus "mail"), which for some reason comes out as 0.
To solve it, you'll need to change the name attribute of your email field in your form, then update it on the Edit Form ->Fields tab, then lastly update your email template.
Hope this helps -
- Ben
Ah, the problem is the hyphen. Form fields should only ever have a-z, A-Z, 0-9 and underscores. Any other characters confuse server-side code, or get stripped or converted.
In this instance, Smarty is trying to do math on your email template ($ANSWER_e minus "mail"), which for some reason comes out as 0.
To solve it, you'll need to change the name attribute of your email field in your form, then update it on the Edit Form ->Fields tab, then lastly update your email template.
Hope this helps -
- Ben