how to add a google recaptcha v2 to a form?
Posted: 2017-05-22 10:13
Hi all,
I'm trying to integrate a google recaptcha v2 on my website using ADDT.
I added recaptcha v2 using the data from the google site.
But the form will pass validation even if the user doesn't resolve the recaptcha.
The recaptcha appears on the page, but how can validate it?
I think I'm missing something here.
I linked the correct google js file as instructed and added the following code before my submit button:
<div class="g-recaptcha" data-sitekey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></div>
But it doesn't seem to work.
TIA
tony
I'm trying to integrate a google recaptcha v2 on my website using ADDT.
I added recaptcha v2 using the data from the google site.
But the form will pass validation even if the user doesn't resolve the recaptcha.
The recaptcha appears on the page, but how can validate it?
I think I'm missing something here.
I linked the correct google js file as instructed and added the following code before my submit button:
<div class="g-recaptcha" data-sitekey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></div>
But it doesn't seem to work.
TIA
tony