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.

reCAPTCHA in EE2, multiple captcha input fields

December 21, 2012 12:35pm

Subscribe [2]
  • #1 / Dec 21, 2012 12:35pm

    I’m using reCAPTCHA on my EE2 site’s member registration page, but the native captcha input field is still showing up below the reCAPTCHA box (see attached screenshot).  The form is functioning properly as long as the captcha is input into the reCAPTCHA field, but it’s confusing for users since there are two boxes.  I can’t figure out how to turn off the native captcha field without turning off reCAPTCHA.  Any suggestions?  Is it possible to edit the member registration template and simply remove the input field?

    Thanks

  • #2 / Dec 21, 2012 3:05pm

    I’ll answer my own question, for anyone else having the same problem.

    The captcha input field needs to be set to “display: none” in the registration page template.  In the control panel, go to Design > Themes > Member Profile Templates, and select your site’s theme, or default if no theme is set.  Click on “Registration Form” and edit this code, located near the bottom, below the {captcha} tag: 

    <input type=“text” name=“captcha” value=”” size=“20” maxlength=“20”  />. 

    Add “display: none;” without the quotes to the style section.  It should look like the attached screenshot.  Deleting the input will break the captcha system, so setting it to display: none is the way to do it.  If you are also using the discussion forum module, you’ll need to do the same thing in the Design > Themes > Forum section if members register via the forum registration page.

  • #3 / Apr 22, 2013 5:01pm

    shotgunflat

    116 posts

    Thanks for this Roger.  I’m still getting an error and didn’t know if you may know why - every time I submit I get the following:

    Please type both words that appear in the image

    I’ve tried a dozen or so times, so I know its not just typos…

    Any thoughts?

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

ExpressionEngine News!

#eecms, #events, #releases