# Hidden Field - SPAM

**URL:** <https://integration.keap.com/t/hidden-field-spam/37089>\
**Category:** Max Classic\
**Created:** [April 13, 2018, 4:16pm UTC](https://integration.keap.com/t/hidden-field-spam/37089 "2018-04-13T16:16:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Rodgers](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/david_rodgers/32/5879_2.png) [@David\_Rodgers](https://integration.keap.com/u/David_Rodgers)\
**Post date:** [April 13, 2018, 4:16pm UTC](https://integration.keap.com/t/hidden-field-spam/37089/1 "2018-04-13T16:16:54Z")

</div>

Hi,

Recently I was told one way to catch SPAM Bots that get past CAPSHA was to put in an empty hidden field in your form. They fill them out and then you test for that.

A couple of our forms were done in HTML. When I look for the line to put in I see two different ones depending on the choice I pick for the code (styled or unstyled).

Which is the right one to use or how do I know how to advise my web person?

See examples below

**HTML Code** without the brackets (\<\>)  
div  
input id=“\_Teaser” name=“inf\_custom\_Teaser” type=“hidden” value=“” /  
/div

**HTML Code (unstyled)** without the brackets (\<\>)  
input name=“inf\_custom\_Teaser” type=“hidden” value=“null” /

David

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [April 13, 2018, 6:27pm UTC](https://integration.keap.com/t/hidden-field-spam/37089/2 "2018-04-13T18:27:01Z")

</div>

Either of those would work. The key elements are that the name= must be correct for the field in question, the element must be hidden and the value can be either null or empty (most common is empty … “”)

---

<div class="post-metadata">

**Author:** ![David\_Rodgers](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/david_rodgers/32/5879_2.png) [@David\_Rodgers](https://integration.keap.com/u/David_Rodgers)\
**Post date:** [April 13, 2018, 7:37pm UTC](https://integration.keap.com/t/hidden-field-spam/37089/3 "2018-04-13T19:37:24Z")

</div>

Thanks John.

---

<div class="post-metadata">

**Author:** ![Mihir\_Dhandha](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Mihir\_Dhandha](https://integration.keap.com/u/Mihir_Dhandha)\
**Post date:** [April 20, 2018, 6:36am UTC](https://integration.keap.com/t/hidden-field-spam/37089/4 "2018-04-20T06:36:29Z")

</div>

Did that stop all the spam submissions for you David?

---

<div class="post-metadata">

**Author:** ![David\_Rodgers](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/david_rodgers/32/5879_2.png) [@David\_Rodgers](https://integration.keap.com/u/David_Rodgers)\
**Post date:** [April 20, 2018, 2:09pm UTC](https://integration.keap.com/t/hidden-field-spam/37089/5 "2018-04-20T14:09:59Z")

</div>

Still testing. Just put it in place in one place and then some spam came through in another area where we didn’t have it. David
