grecaptcha is not defined
-
After updating to the latest version I now get this error ‘grecaptcha is not defined’:
var wpcf7recaptcha = { execute: function() { grecaptcha.execute( sitekey, { action: 'homepage' } ).then( function( token ) { var forms = document.getElementsByTagName( 'form' ); for ( var i = 0; i < forms.length; i++ ) { var fields = forms[ i ].getElementsByTagName( 'input' ); for ( var j = 0; j < fields.length; j++ ) { var field = fields[ j ]; if ( 'g-recaptcha-response' === field.getAttribute( 'name' ) ) { field.setAttribute( 'value', token ); break; } } } } ); } }; grecaptcha.ready( wpcf7recaptcha.execute );
The v3 recaptcha is also not working very well and lets a lot more spam in ??
The page I need help with: [log in to see the link]
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘grecaptcha is not defined’ is closed to new replies.