On Fri, May 22, 2009 at 7:20 PM,  <annet.verm...@gmail.com> wrote:
> db.tablename.fieldname.requires=IS_NULL_OR(IS_DATE(str(T('%Y-%m-
> %d'))))

Thanks, that was what I was looking for!

Another question: how / where can I (application wide) change the date
format string so that all date entry and display conforms to it incl
the date pickers? (eg '%d.%m.%Y')

Horst

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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