Google ReCaptcha for Sitecore Forms

Want to protect your forms from spam and abuse? Google’s reCaptcha is your friend and is adopted as the de facto industry standard.

The Sitecore Forms Extensions module now comes with a control to support google reCaptcha.

Configuration

The recaptcha needs to be configured in the sitecore settings.

There are 2 settings to provide: the private and public key.

These keys can be obtained from recaptcha portal.

Error Message

If you want to customize or translate the error message, create a translation in your dictionary for the key “captcha.required”.

Usage

Once configured, the control can be easily added by content editors onto the form.

Just drag and drop the component from the security toolbox onto the form.

That’s it! No further settings are required.

 

8 Responses to “Google ReCaptcha for Sitecore Forms”

Author's gravatar

Hi,

How can I Validate ReCaptcha submit action and assigned to submit button? Do I need to implement submit action for ReCaptcha control?

Best regards.

    Author's gravatar

    Hi Igor, you just need to add your recaptcha keys (public and private) in the sitecore config files during install.
    Once installed, you just need to add the component on the form, there is no need to configure submit actions.

Author's gravatar

Hi Bart,

This is a great extension. Many Thanks!
I integrated Recaptcha in my project and looks good but while submitting the form I get error “An item with the same key has already been added.” in FormBuilder\Form.cshtml. Are you familiar with this error?

    Author's gravatar

    Hi,
    I have the same problem.
    Did anyone solved this?

      Author's gravatar

      I believe you might have solved this issue but for anyone else, if you experienced the same issue, check your field name for each field, all field should have a different name.

Author's gravatar

Hi Bart

We are using your recaptcha with extension module, in IE 11 it is not working as image challenge keeps coming up again and again

In Chrome and Firefox it is working, kindly suggest how to fix in IE 11

Author's gravatar

Hi Arvind,
first of all thanks a lot for the module, is there a way to have multiple ReCaptcha on se same page on sitecore 9.0.1 (i’ve seen that you have added it for version 2.2 (for Sitecore 9.1.x))

Thanks in advance
Davide

Leave a Reply