Captcha antispam is very annoying (even if there might be some fancy implementations), a simpler way to get no less spam towards email forms can be an approach like this:
- create a hidden text form hidden by CSS;
- Â if this hidden field contains some sort of text the form won’t be posted (cause generally spam bots don’t bother on CSS).
An human user, using a (d|r)ecent browser don’t see the form and he can post without annoyng captcha insertion. Legacy browser (no CSS aware) would display a warning telling the user not to write anything in the text form.
Here’s the astonishing trivial code.





May 21st, 2008 at 18:05
Hi
sounds simple and great !
can I have a demo of this type of form security ?
Siva
May 27th, 2008 at 10:58
Actually, I’ve tried this before on a website that received a lot of spam comments – it didn’t work as well as CAPTCHA.
Mainly because it seemed that most spiders/robots only filled in fields they recognised (name, email, message etc).
Cheers,
Chris
November 24th, 2008 at 18:24
If you use “subject” has a hidden field name the bot will pick it up and fill it out. And if you need a subject line simply call it something else…