Closed (fixed)
Project:
Webform Validation
Version:
6.x-1.3
Component:
Validation rules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2010 at 21:55 UTC
Updated:
4 Apr 2011 at 18:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
b-prod commentedI agree with that, I use an empty hidden input "mail" for a while and it works for most of spamming cases. It filtered spammed contact forms better than I thought.
So the patch below allows to use hidden fields for "must be empty" validation. Il is more simple than use a textfield and hide it within CSS rules.
Comment #2
svendecabooterThe "Must be empty" validation rule can now be applied to hidden components.
Although I think spambots still mainly want to fill in normal fields, and will skip hidden fields, as there's no user input possible in the first place...
Anyway, it's there now, so use it as you wish :)
Comment #3
b-prod commentedThanks!
I confirm that this trick works like a charm for most of sites. Just do not use it alone for big Websites, because in such a case the spammers are really more motivated ;-)