homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Spam Trap Form Field
skeeterz71



 
Msg#: 4531026 posted 4:44 pm on Dec 25, 2012 (gmt 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:)

 

rainborick

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4531026 posted 3:23 am on Dec 26, 2012 (gmt 0)

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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4531026 posted 1:05 pm on Dec 27, 2012 (gmt 0)

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

drhowarddrfine

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4531026 posted 1:05 pm on Dec 27, 2012 (gmt 0)

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

rainborick

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4531026 posted 2:52 am on Dec 28, 2012 (gmt 0)

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

WebmasterWorld Senior Member piatkow us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4531026 posted 9:27 pm on Jan 2, 2013 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved