Template is emailed instead of data; Data is emailed twice

philraymond 22 Nov, 2012
I have 2 different issues with the email I receive upon form submission.

1. Sometimes my template comes through instead of the user's information, even though every field requires validation, so it's not possible to submit blank fields. I've tested on 3 different computers, and the problem never happens when I test, but it's happening for some people. Here's an example of what comes through (i.e. the template instead of the data):

{contactmessage} 

{contactname}


2. More recently, the data comes through in the email, but it comes through twice, the first time in html comments. For example:

<!-- This is the message

John Smith

-->


This is the message

John Smith


Thanks, Phil
GreyHead 22 Nov, 2012
Hi Phil,

For 1) please see this FAQ for some suggestions.

For 2) I don't know, not something I've seen before and I don't think that ChronoForms adds HTML comments anywhere . . . I wonder, if you have the Email format set to HTML + text??

Bob
philraymond 22 Nov, 2012
Thank you.

1. I've added Server Side Validation as per the FAQ, so we'll see how that works.

2. I changed email format to either 'html' or 'text' instead of 'both' and either of those fixed the problem, so that one is solved.

Thanks!
Phil
This topic is locked and no more replies can be posted.