Title: [Plugin: Contact Form 7 reCAPTCHA Extension] Validation Errors Message
Last modified: August 20, 2016

---

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

 *  [Mike](https://wordpress.org/support/users/mgriffis/)
 * (@mgriffis)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/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.
 * Thanks,
 * Mike
 * [http://wordpress.org/extend/plugins/contact-form-7-recaptcha-extension/](http://wordpress.org/extend/plugins/contact-form-7-recaptcha-extension/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Andre Pietsch](https://wordpress.org/support/users/pitschi/)
 * (@pitschi)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312114)
 * Hey,
 * 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,
 * Andre
 *  [Pete](https://wordpress.org/support/users/angio/)
 * (@angio)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312144)
 * 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?
 *  [Pete](https://wordpress.org/support/users/angio/)
 * (@angio)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312145)
 * 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.
 *  [jinoOM](https://wordpress.org/support/users/jinoom/)
 * (@jinoom)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312147)
 * 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 ) {
       		/*mod*/
       			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;
       			}
       		/*mod*/
       ```
   
 * Maybe Andrea can come up with a more elegant solution…
 *  [Pete](https://wordpress.org/support/users/angio/)
 * (@angio)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312148)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-recaptcha-extension.
   svg)
 * [Contact Form 7 reCAPTCHA Extension](https://wordpress.org/plugins/contact-form-7-recaptcha-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-recaptcha-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-recaptcha-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-recaptcha-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-recaptcha-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-recaptcha-extension/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Pete](https://wordpress.org/support/users/angio/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-validation-errors-message/#post-2312148)
 * Status: not resolved