Obviously, you will need to link the api.js from Google in your form.html to work with the grecaptcha
object.
- https://developers.google.com/recaptcha/intro
- https://developers.google.com/recaptcha/docs/faq
- https://developers.google.com/recaptcha/docs/v3
- https://developers.google.com/recaptcha/docs/verify
A comprehensive guide (with some errors though):
Google Codelab (reCAPTCHA v2):
Before doing any of this, you need the site key-secret key pair from Google for that particular version of reCAPTCHA, e.g. v3.