<p>If the plugin you're using is <a href="https://plugins.craftcms.com/craft-hcaptcha?craft4" rel="nofollow noreferrer">https://plugins.craftcms.com/craft-hcaptcha?craft4</a>
then the documentation for using it (Documentation button on the plugin page) is available here:</p>
<p><a href="https://github.com/c10d-dev/craft-hcaptcha/blob/main/README.md" rel="nofollow noreferrer">https://github.com/c10d-dev/craft-hcaptcha/blob/main/README.md</a></p>
<p>There's several different ways to implement it in the twig template, depending on the desired outcome. Do let us know where you're stuck if you still need help</p>

CC BY-SA 4.0
2023-10-16T20:32:05.987Z
Thank you for your response. That is indeed the plugin! I've done everything but the server side bit. I'm not sure where to implement it and would love some assistance with that
Steph
CC BY-SA 4.0
2023-10-17T16:15:23.657Z
Ah! Ok, the part where you verify it validated. "Verify the hCaptcha" from the docs.

Because you're using the Craft Contact Form I don't think you need to do this step, there's a note in the docs that you can just flip a toggle in the Contact Form plugin to have the hcaptcha plugin work with it. 

If you're doing a custom form, you'd need to put that server side validation code into your form's controller logic. The contact form plugin already takes care of that for you, if Im reading the docs correctly. Let me know if that helps!
cherrykoda
CC BY-SA 4.0
2023-10-16T20:18:22.213Z
2023-10-16T20:18:22.213Z
cherrykoda
<p>So I'm mostly a front-end developer working with craft. I'm using the craft contact form plugin and I'm trying to setup hcaptcha plugin to work with it. But I'm not sure how to implement the server side bit.</p>
<p>Can anyone help with this ?</p>

<plugins><plugin-contactform>
Verifying hCaptcha plugin submission on the server side
# Verifying hCaptcha plugin submission on the server side

(Asked by: username_0 on 2023-10-16)

So I'm mostly a front-end developer working with craft. I'm using the craft contact form plugin and I'm trying to setup hcaptcha plugin to work with it. But I'm not sure how to implement the server side bit.

Can anyone help with this ?

**Tags:** plugins, plugin-contactform

---

## 1 answers

### Answer by username_1 on 2023-10-16. Score: 1

If the plugin you're using is <https://plugins.craftcms.com/craft-hcaptcha?craft4>
then the documentation for using it (Documentation button on the plugin page) is available here:

<https://github.com/c10d-dev/craft-hcaptcha/blob/main/README.md>

There's several different ways to implement it in the twig template, depending on the desired outcome. Do let us know where you're stuck if you still need help

> **Comments:**
> **username_0**: Thank you for your response. That is indeed the plugin! I've done everything but the server side bit. I'm not sure where to implement it and would love some assistance with that  
> **username_1**: Ah! Ok, the part where you verify it validated. "Verify the hCaptcha" from the docs.  Because you're using the Craft Contact Form I don't think you need to do this step, there's a note in the docs that you can just flip a toggle in the Contact Form plugin to have the hcaptcha plugin work with it.   If you're doing a custom form, you'd need to put that server side validation code into your form's controller logic. The contact form plugin already takes care of that for you, if Im reading the docs correctly. Let me know if that helps!  

---

