<script type="text/javascript" language="JavaScript"> | |
// Call to rendor the captcha | |
var recaptcha1; | |
var recaptcha2; | |
var myCallBack = function() { | |
//Render the recaptcha1 on the element with ID "recaptcha1" | |
recaptcha1 = grecaptcha.render('recaptcha1', { | |
//'sitekey' : '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI', //test key | |
'sitekey' : 'YOUR_SITE_KEY', // production | |
'theme' : 'light', // can also be dark | |
'callback' : 'enableBtn1' // function to call when successful verification for button 1 | |
}); | |
//Render the recaptcha2 on the element with ID "recaptcha2" | |
recaptcha2 = grecaptcha.render('recaptcha2', { | |
//'sitekey' : '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI', // test key | |
'sitekey' : 'YOUR_SITE_KEY', // production | |
'theme' : 'light', // can also be dark | |
'callback' : 'enableBtn2' // function to call when successful verification for button 2 | |
}); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment