Welcome to WebmasterWorld Guest from 54.224.148.71

Forum Moderators: incrediBILL

Message Too Old, No Replies

Spam Trap Form Field

     
4:44 pm on Dec 25, 2012 (gmt 0)

New User

joined:Dec 25, 2012
posts:4
votes: 0


If I make my spam trap on the form a hidded field (so not to confuse the user) will a spam bot still attempt to fill in that field? I hope so:)
3:23 am on Dec 26, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2003
posts:913
votes: 13


Rather than use type="hidden", I'd use type="text" and add a 'display:none' in your stylesheet for this specific element to hide the field from users.
1:05 pm on Dec 27, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 23, 2005
posts:742
votes: 0


Bots look at HTML, not CSS, so, yes, it will fill in the field.
1:05 pm on Dec 27, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 23, 2005
posts:742
votes: 0


Bots look at HTML, not CSS, so, yes, it will fill in the field.
2:52 am on Dec 28, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 15, 2003
posts:913
votes: 13


That was my point. It seemed to me that spam bots would be far more likely to fill in a "text" box than a "hidden" input field, if they were going to fill in fields to mimic a real user. And by making the <input> "invisible" with CSS, it wouldn't interfere with real users.
9:27 pm on Jan 2, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 5, 2006
posts:3312
votes: 16


I experimented with a hidden field and the spam bots ignored it. I hadn't thought of using CSS.