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