I was having new issues with the captcha system with Eform on a couple of Evo 1.0.5 sites.
I implemented the system Susan is using on sotwell.com. I copied everything carefully and created the two new snippets for checkField and checkServer. I implemented this on my own site and it works great.
I then implemented this on a client site. The form seems to work. You get the ThankYou message etc. But I get the messages and the client gets nothing? I made sure I have the client’s email address is presented correctly on the SetContactForm chunk. Why I am getting the messages?
Here is the ContactForm chunk:
<span style="color:red">[+validationmessage+]</span>
<form id="ContactForm" method="post" action="[~[*id*]~]" enctype="multipart/form-data">
<fieldset id="info">
<input type="hidden" name="formid" value="ContactForm" />
<label for="cfName">Name: </label>
<input tabindex="1" name="name" id="cfName" class="text" type="text" eform="Your Name::1:" />
<label for="cfEmail">Email: </label>
<input tabindex="2" name="email" id="cfEmail" class="text" type="text" eform="Email Address:email:1" />
</fieldset>
<fieldset id="message">
<label for="cfMessage">Message: </label>
<textarea tabindex="3" name="message" id="cfMessage" rows="4" cols="20" eform="Message::1"></textarea>
<input tabindex="4" type="submit" name="contact" id="cfContact" class="button" value="Send Message" />
</fieldset>
</form>
Here is the SetContactForm chunk:
[!getServer!]
[!checkField!]
[!eForm? &formid=`ContactForm` &tpl=`ContactForm` &report=`ContactReport` &to=`[email protected]` &subject=`sitename.com Contact` &thankyou=`ThankYou` &from=`[+email+]` &fromname=`[+name+]` &replyto=`email` &eformOnBeforeMailSent=`getServer` &eformOnValidate=`checkField`!]
And the snippet call code from the Contact page:
[!getServer!] [!checkField!] [!eForm? &formid=`ContactForm` &tpl=`ContactForm` &report=`ContactReport` &subject=`sitename.com Contact` &thankyou=`ThankYou` &from=`[+email+]` &fromname=`[+name+]` &replyto=`email` &eformOnBeforeMailSent=`getServer` &eformOnValidate=`checkField` !]
And here is the ContactReport chunk:
<h3>Contact Input </h3>
<strong>Name:</strong> [+name+]<br />
<strong>Email:</strong> [+email+]<br /><br />
<strong>Message:</strong> [+message+]
<hr>
<strong>IP:</strong> [+remote_addr+]<br />
<strong>Host:</strong> [+remote_host+]<br />
<strong>User Agent:</strong> [+user_agent+]
What do I need to look for here?
Thanks!