# Anti-spam Form Field Validation

**URL:** <https://forum.mautic.org/t/anti-spam-form-field-validation/10146>\
**Category:** Product Support\
**Created:** [January 19, 2018, 9:49am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146 "2018-01-19T09:49:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cparx](https://avatars.discourse-cdn.com/v4/letter/c/65b543/32.png) [@cparx](https://forum.mautic.org/u/cparx)\
**Post date:** [January 19, 2018, 9:49am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/1 "2018-01-19T09:49:02Z")

</div>

Hi all,

We have an issue where a spam bot is targetting one of our forms, the honeypot method does not work (the bot does not fill in the field). The common element to all of the submissions is that the First Name always begins with a particular number, then it is just a series of characters. The one thing I have thought would be a quick and dirty solution is to validate the form to not accept numbers or only accept letters, I am unsure how to go about this though. Any pointers? I do not want to use a recaptcha. I have searched for this issue and have not quite found a right solution, so maybe others have this issue.

Thanks

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [January 20, 2018, 2:32am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/2 "2018-01-20T02:32:53Z")

</div>

@cparx how you integrate form in your website ?

HTML or Java Code?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [January 22, 2018, 8:48am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/3 "2018-01-22T08:48:58Z")

</div>

Have you try the captcha field?

---

<div class="post-metadata">

**Author:** ![spencermcblain](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@spencermcblain](https://forum.mautic.org/u/spencermcblain)\
**Post date:** [May 23, 2018, 6:58am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/4 "2018-05-23T06:58:06Z")

</div>

Did you find a solution - we have a similar issue - we suspect that the spam email is being completed on the Mautic hosted site form rather than our website which has an up-to-know successful anti-spam feature. Other forms not posting to Mautic are not receiving spam entries so we are confident that the anti-spam is working.

Effectively we need to hide the Mautic hosted form, but still be able to post to it - any ideas/suggestions?

---

<div class="post-metadata">

**Author:** ![marciosantos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/marciosantos/32/2434_2.png) [@marciosantos](https://forum.mautic.org/u/marciosantos)\
**Post date:** [November 27, 2020, 2:22am UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/5 "2020-11-27T02:22:22Z")

</div>

I’m also struggling with this.  
I setup a honeypot form field and for a while it was working, but in the last month ive seen hundreds of new spammy emails, and location of the emails is logged as being from Russia.

I also enabled the “has valid email” inside my campaign and that didnt solve it either.

I also tried renaming the honeypot field to a random name, that also did not work.

---

<div class="post-metadata">

**Author:** ![tancredi](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tancredi](https://forum.mautic.org/u/tancredi)\
**Post date:** [January 25, 2021, 10:41pm UTC](https://forum.mautic.org/t/anti-spam-form-field-validation/10146/6 "2021-01-25T22:41:39Z")

</div>

Hi there,  
hoping you managed to solve the issue in the meantime, I’m looking into it and suggest you to try this [GitHub - KonstantinCodes/mautic-recaptcha: This Plugin brings reCAPTCHA integration to mautic.](https://github.com/KonstantinCodes/mautic-recaptcha)
