HUGO

reCAPTCHA (v3) on Hugo contact form

Hi Hugo community! I’m stuck with implementing reCAPTCHA (v3) on my Hugo website. Any tutorials on how to verify the user response?

1 Like

I am looking at the same problem.
I want to use ReCaptcha for a form.
As I see it there are different approaches depending och your form backend.
If you are using a PHP backend for your forms, there are plenty of examples online on how to handle the response.
However, I am using a google forms backend so I need to handle the logic in JavaScript.
Some form providers give you tutorials on how to implement Recaptcha v3.

How are you implementing the fields / forms / logins that you want to protect?

Hi there,

This is a JS question, and not a Hugo-specific question. It is out of the scope of the forum.