Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitecore 9.3 reCaptcha is not visible in forms #135

Open
prasanna1579 opened this issue Jul 9, 2022 · 4 comments
Open

Sitecore 9.3 reCaptcha is not visible in forms #135

prasanna1579 opened this issue Jul 9, 2022 · 4 comments

Comments

@prasanna1579
Copy link

We have installed Sitecore Forms Extensions 3.0 for Sitecore 9.3 for reCaptcha. We added the reCaptcha in one of the Sitecore form. We followed the steps you provided. Like created a config file with private key and public key and added the patch file to App_config/Environment folder.

We tried running the form and the reCaptch is not rendered. The console is showing an error saying "reCAPTCHA couldn't find user-provided function: loadReCaptchas"

Expected behavior
The reCaptcha should render on Sitecore form and work properly

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser : Chrome

Please help us if we need to do anything?

Thanks in advance,
Prasanna Kumar

@prasanna1579
Copy link
Author

@bartverdonck , can you please provide any solution for this? It is urgent and we are unable to find the fix for this.

@markgibbons25
Copy link

I've been using it without issue so it must be a problem with your code / config.

@prasanna1579
Copy link
Author

Hi @markgibbons25, I don't think there is no code involved after using this extension. We have installed the extension and added a config file with private key and public key in App_Config/Environment folder as suggested in the article.
Can you please suggest?

@arpadgal
Copy link

Hi, having the same issue with sitecore 9.3, seems the new package contains different Recaptcha.cshtml without adding the script where loadReCaptchas defined:
@{
var fieldId = Html.IdFor(m => Model.CaptchaValue);
Html.AddScript(ScriptStore.ValidateScriptKey, new MvcHtmlString("<script src="/sitecore%20modules/Web/ExperienceForms/scripts/formsextensions.validate.js"></script>"));
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants