ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Problems with Captchas

June 24, 2011 4:54pm

Subscribe [1]
  • #1 / Jun 24, 2011 4:54pm

    Scott Harrington

    85 posts

    Hi, to solve a sudden surge of spam mails being sent via our site I have decided to add the captcha function to our contact form, using the nark up below:-

    {exp:freeform:form form_name="contact_form" template="contact_form" notify="[email protected]" send_attachment="no" return="http://www.savoirfairemusique.co.uk"}
    
    <fieldset class="contact">
                            <label for="name" class="clearBoth">Name</label>         
                            <input name="name" class="contact" type="text" id="name" /></p>
                            <label for="email" class="clearBoth">Email</label>         
                            <input name="email" class="contact" type="text" id="email" /></p>
                            <label for="comments">Message?</label>
                            <textarea name="comments" class="contact" id="comments" rows="6" cols="30"></textarea>
                            Submit the word you see below:
                            
                            {captcha}
                                
    
                            <input type="text" name="captcha" value="" size="20" maxlength="20" style="width:140px;" /></p>
                            <input type="image" title="Submit" src="assets/images/bttn-submit.gif" alt="Submit Enquiry" name="submit" /></p>
                        </fieldset>
    
    {/exp:freeform:form}

    However, the captcha image isnt being pulled in from anywhere - have checked the neccessary settings and paths and all seems to be Ok although I have noticed that there are no images in the captcha folder itself….

    Any suggestions?

  • #2 / Jun 25, 2011 6:46pm

    Lisa Wess

    20502 posts

    Hi, Scott,

    Can you try turning off TrueType in Admin > CATCHPA Preferences?

    Thank you!

  • #3 / Jun 27, 2011 4:36pm

    Scott Harrington

    85 posts

    Hi and thanks for reply - tried what you suggested but it still doesnt seem to work (in safari) but does show in Firefox?

  • #4 / Jun 27, 2011 10:06pm

    Lisa Wess

    20502 posts

    Hi, Scott -

    Have you tried clearing your Safari cache to make sure that isn’t interfering?

  • #5 / Jun 29, 2011 2:22pm

    Scott Harrington

    85 posts

    Hi that seemed to solve it - thanks for your help

  • #6 / Jun 29, 2011 2:32pm

    Lisa Wess

    20502 posts

    Happy to help, Scott.  If anything else comes up, please start a new thread!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases