-
- 4 Posts
Hello, I'm very new to Modx, I have very little experience with the platform.
My website recently got a bunch of spam emails and I'm trying to installed ReCaptcha to avoid that from happening again.
It looks like I already have Formit, I see it under Chunks and I see it under Snippets, not sure if that's a mistake, if I need to get rid of one of those or not. I have the Google Recaptcha keys, but I do not know where to plug them in.
Thank you so much for your help in advance.
-
- 932 Posts
Your api keys are put into system settings.
-
- 932 Posts
To go into a little more detail about the process:
You'll need to include the hook also into your formit call. I'm going to assume you're using recaptchav2 rather than just recaptcha(v1).
You'll then need to call in recaptchav2 just before the submit button:
[[!recaptchav2_render]]
[[!+fi.error.recaptchav2_error]]
-
- 932 Posts
You need to select recaptchav2 from the dropdown list in system settings. Take a look here for clarifcation
http://imgur.com/a/5N0vG