Thank you, DenesL.
Eduardo
On Mar 10, 4:14 pm, DenesL wrote:
> ...requires=IS_EMPTY_OR(IS_EMAIL(...))
>
> Seehttp://web2py.com/book/default/chapter/07#Validators
>
> On Mar 10, 1:21 pm, Eduardo wrote:
>
> > Hello,
>
> > I need to validate a field as e-mail but I also would like to accept
> > it
...requires=IS_EMPTY_OR(IS_EMAIL(...))
See http://web2py.com/book/default/chapter/07#Validators
On Mar 10, 1:21 pm, Eduardo wrote:
> Hello,
>
> I need to validate a field as e-mail but I also would like to accept
> it if it is left empty; the following:
>
> db.table.field.requires = IS_EMAIL(e
2 matches
Mail list logo