Forum Moderators: open

Message Too Old, No Replies

Spam Trap Form Field

         

skeeterz71

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

10+ Year Member



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:)

rainborick

3:23 am on Dec 26, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

drhowarddrfine

1:05 pm on Dec 27, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bots look at HTML, not CSS, so, yes, it will fill in the field.

drhowarddrfine

1:05 pm on Dec 27, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Bots look at HTML, not CSS, so, yes, it will fill in the field.

rainborick

2:52 am on Dec 28, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

piatkow

9:27 pm on Jan 2, 2013 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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