Probably a simple thing that I’ve forgotten, but I can’t figure it out.
I’ve got the Enable CAPTCHAs setting in Admin > System Prefs > Email Config set to Yes, but the following code seems to ignore the CAPTCHA part.
{exp:email:contact_form user_recipients="false" recipients="[email protected]" charset="utf-8"}
<h2>Quick Contact Form</h2>
<p> <br />
<label for="from">Your Email:</label></p>
<p> <input class="contactField" type="text" id="from" name="from" size="40" maxlength="35" /><br />
<br />
<br />
<label for="message">Message:</label></p>
<p> <textarea class="contactTxtArea" id="message" name="message" rows="10"></textarea><br />
</p>
<p> {if captcha}<br />
Please enter the word you see in the image below:<br />
<br />
{captcha}</p>
<p> <input class="contactField" type="text" name="captcha" value="" maxlength="20" /><br />
<br />
{/if}</p>
<p> <input name="submit" type='submit' value='Submit Form' /></p></p>
<p>{/exp:email:contact_form}Renders as:
<h2>Quick Contact Form</h2>
<p> <label for="from">Your Email:</label></p>
<p> <input class="contactField" type="text" id="from" name="from" size="40" maxlength="35" /></p>
<p><br />
<label for="message">Message:</label></p>
<p> <textarea class="contactTxtArea" id="message" name="message" rows="10"></textarea></p>
<p> </p>
<p><input name="submit" type='submit' value='Submit Form' /></p>Any ideas? Thanks!