I\'m using Google reCAPTCHA and have been able to add the CAPTCHA component to my page inside a form. But when I submit the form there\'s no validation taking place to check
I find this very helpful:
You add a function to data-callback="recaptchaCallback" with this code: var recaptchachecked=false; function recaptchaCallback() { recaptchachecked = true; } and a function were you return the value to use it in a other html-tag like this: function isreCaptchaChecked() { return recaptchachecked; } I hope this helps you. 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
You add a function to data-callback="recaptchaCallback" with this code:
var recaptchachecked=false; function recaptchaCallback() { recaptchachecked = true; }
and a function were you return the value to use it in a other html-tag like this:
function isreCaptchaChecked() { return recaptchachecked; }
I hope this helps you.