IS_NULL_OR you use it like in
requires=IS_NULL_OR(IS_ALPHANUMERIC())
requires=IS_NULL_OR(IS_DATETIME())
Please try it and see if works for you.
Massimo
--
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
meide <<wxPython UI module>>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou
requires=IS_NULL_OR(IS_ALPHANUMERIC(),null='')
so that an empty string will be stored as an empty string (null='')
and not as a NULL value (null=None).
On Mar 10, 2008, at 12:24 AM, limodou wrote:
Massimo
For now there is a new version in trunk that let you use IS_NULL_OR
for dates, integers, float, etc.
Massimo