Support » Plugin: Contact Form 7 reCAPTCHA Extension » [Plugin: Contact Form 7 reCAPTCHA Extension] Validation Errors Message

  • Hi,

    The plugin seems to work as advertised. Nice work.

    This is a relatively small problem, but it would be nice if I could get an answer: if I enter an invalid reCAPTCHA, the Validation Errors response from Contact Form 7 is shown, rather than a message saying it’s an invalid reCAPTCHA.

    I’ve modified the error response in Contact Form 7 so that it hints that the problem might be caused an incorrect reCAPTCHA, but it would be nice if the error message was specific to the reCAPTCHA problem.

    So here’s my question: Will this error be generated for any reason other than an invalid reCAPTCHA entry?

    If not, then it’s easy enough to make the error response say to try the reCAPTCHA again. Otherwise, it would be nice if a specific error were provided for reCAPTCHA.



Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andre Pietsch



    sorry for my late reply. Some other projects needed my attention.

    I will have a look into it and will respond after some testing.

    Kind regards,


    I’m getting this error “Validation errors occurred. Please confirm the fields and submit it again.” while I am logged in as Admin and the captcha is not displayed. From a private browser I see the captcha and it works and validates. If I remove the captcha shortcode from the contact form it works. What is the problem when I am logged in with validation?

    Also if I uncheck all options for Hide the CAPTCHA for, and make it display for me as an Admin it then works. So the problem has to do with the captcha being hidden.

    Hello angio,
    i had the same problem and i solved this way:
    in file includes/CF7reCAPTCHA.class about on line 573, just at the beginning of the mothod ‘recaptcha_validation_filter’ add following code enclosed by /*mod*/:

    function recaptcha_validation_filter( $result, $tag ) {
    			if( ($this->recaptcha_tool === CF7reCAPTCHA::RECAPTCHATOOL_BWP_RECAPTCHA
                        && $bwp_capt->user_can_bypass() )
                        ($this->recaptcha_tool === CF7reCAPTCHA::RECAPTCHATOOL_WP_RECAPTCHA
                        && $this->wp_recaptcha_user_can_bypass() )) {
    				return $result;

    Maybe Andrea can come up with a more elegant solution…

    Thanks jinoOM, today I actually removed BWP and installed WP reCaptcha, also removed the BMP CF7 extension and used the regular reCaptcah extension. It’s working now but you’re code looks like it would also do just fine. Thanks again

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Contact Form 7 reCAPTCHA Extension] Validation Errors Message’ is closed to new replies.