Using SQLFORM I wish to make sure a date is >= today.
I tried using things like:
Field('arrdate', 'date', requires=IS_EXPR('value >= %s'%
datetime.date.today().strftime('%Y-%m-%d')) ),
Field('arrdate', 'date', requires=IS_EXPR('value > %s'%
datetime.date.today() ) ),
Could anyone point me in the right direction?
-David
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.