I’ve added Recaptcha v2 Invisible to my exported website. It works like charm, the only thing is that the contact form can be sent even with empty fields for some reason. It’s just asking to fill in the captcha and ignores the “required” in the fields settings.
I’ve set the Submit button to post , and action to my formmail.php.
I’ve also added two custom attributes to the submit button as it is rquired with my mail script.
Above the submit button is an HTML embed which allows this form to work with my mail script and recaptcha, also sets success and error pages, as well as replyto email.
And lastly , I’ve added this to my custom code in the head. So far I can’t see anything that could prevent the required fields check. Any suggestions?
Hi @radmitry, thanks for the post, can you help to share the site published url, it is sometimes easier to check the root cause by looking at the exported hosted files.