I am trying to get ReCaptcha v3 to work on a contact form, but it simply does nothing and the form submits anyway. I looked at the documentation and lifted the code from that, but no success. The proper v3 API keys were entered in system settings, no other changes there were made.
[[!FormIt? &hooks=`recaptchav3,spam,FormItSaveForm,email,redirect` &fsFormTopic=`contact` &emailTpl=`ContactEmailChunk` &redirectTo=`38` &formName=`Contact Form` &validate=`nospam:blank` &submitVar=`contactsubmit` &recaptchav3.token_key=`token-1` &recaptchav3.action_key=`action-1` ]]
Below the submit button in the form. The tpl has not been modified:
[[!recaptchav3_render? &tpl=`recaptchav3_html` &token_key=`token-1` &action_key=`action-1` ]] [[!+fi.error.recaptchav3_error]]
Does anyone have an idea of why this is happening? The site is getting a lot of spam through the form, even with a good jquery validator.
EDIT: It shows the floating ReCaptcha logo on the left side of the page, but nothing else. I hid it with some CSS and put the policies below the submit button instead.