oh thanks a lots. i didn't notice there is a IS_NULL_OR -vince
On Dec 17, 4:10 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > requires=IS_NULL_OR(IS_DATE('%Y-%m-%d',error_message='must be empty or > iso date')) > > On Dec 17, 1:56 am, vince <lapcc...@gmail.com> wrote: > > > is that possible to define a SQLField as date so it is either empty or > > a valid IS_DATE format? > > > -vince > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---