In my db.py I have this as part of the auth_table:

Field('birthdate', 'date',requires = IS_DATE(format=T('%Y-%m-%d'),
error_message=T('must be YYYY-MM-DD!'))),

However, when a non-date is entered, the form accepts it and corrupt
the database resulting in a  ticket.
Why does this validator not work?

Regards
Johann

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to