Thanks, that should work.

The idea is to have a field hidden with CSS named something common. The 
HTML can still be seen by bots and they will automatically fill it in with 
junk. People won't see the field so they will leave it empty. Bots will 
fill it in and the form will be rejected.

On a related note, is it possible to make the form silently fail if this 
one field does not pass validation but other fields will still properly 
produce error message if they fail validation?

On Sunday, January 6, 2013 11:33:36 AM UTC-8, Niphlod wrote:
>
> didn't really grasp the requirements, but a few examples that may turn 
> useful...
>
> >>> IS_LENGTH(maxsize=0)(' ')
> (' ', 'enter from 0 to 0 characters')
> >>> IS_LENGTH(maxsize=0)('')
> ('', None)
> >>> IS_EQUAL_TO('')(None)
> (None, 'no match')
> >>> IS_EQUAL_TO(None)(None)
> (None, None)
> >>> IS_EQUAL_TO('')('')
> ('', None)
>
>
>
> ?
>
> On Sunday, January 6, 2013 8:16:39 PM UTC+1, HittingSmoke wrote:
>>
>> Can I use IS_EMPTY_OR to require a field is completely empty, basically 
>> leaving out the OR part?
>>
>> I'd like to make a hidden field in a form that is required to be empty to 
>> help filter out spam bots on a form.
>>
>

-- 



Reply via email to