Hi all,
I’m using the eForm snippet, which is, for the most part, relatively simple to use. My problem is: I get an error for the Captcha regardless of whether it’s right or not. Here is the code in use:
Template Code:
[[eForm? &formid=`contactForm` &to=`[email protected]` &tpl=`emailForm` &report=`emailFormFeedback` &gotoid=`81` &vericode=`1`]]
emailForm Chunk:
<p><span style="color:#900;">[+validationmessage+]</span></p>
<form id="contactForm" action="[~[*id*]~]" method="post">
<ul>
<li>
<label for="name">Name <span>(e.g. John Doe)</span></label>
<input type="text" name="name" id="name" eform="name::1"/>
</li>
<li>
<label for="email">Email</label>
<input type="text" name="email" id="email" eform="email::1"/>
</li>
<li>
<label for="phone">Phone</label>
<input type="text" name="phone" id="phone" eform="phone::0"/>
</li>
<li>
<label for="comments">Questions / Comments</label>
<textarea rows="5" cols="20" name="comments" id="comments" eform="comments:html:0"></textarea>
</li>
<li>
<p>
Please enter the verification code below: (to prevent spam)<br />
<img src="[+verimageurl+]" alt="verification code" /><br />
<input type="text" name="vericode" size="20" />
</p>
</li>
<li>
<input type="submit" name="btn-submit" id="btn-submit" value="Submit" />
</li>
</ul>
</form>
emailFormFeedback Chunk (report):
<p>This is a response sent by [+Name+] using the feedback form on the website. The details of the mesage follow below:</p>
<table>
<tr valign="top"><td>Name:</td><td>[+Name+]</td></tr>
<tr valign="top"><td>Email:</td><td>[+email+]</td></tr>
<tr valign="top"><td>comments:</td><td>[+comments+]</td></tr>
</table>
<p>Would [+name+] like to be on our mailing list? <strong>[+list+]</strong></p>
<p>You can use this link to reply: <a href="mailto:[+email+]?subject=RE:[+subject+]">[+email+]</a></p>
All of the validation works minus the error it gives me:
Some errors were detected in your form:
Invalid verification code.
The image code displays fine and I’ve typed it in case-sensitive.
Any ideas??
Thanks for your time.