Thanks Massimo, Now, it's working fine.
On Sat, Sep 21, 2019 at 9:06 PM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > They work the same as in web2py but you must import them > > from pydal.validators import * > > On Saturday, 21 September 2019 08:15:43 UTC-7, sandeep patel wrote: >> >> Hello Massimo, >> >> I have added *IS_EMPTY_OR* validator in the field. I am getting an error. >> >> Is there any way to add a validator in the field in py4web? >> >> Please have a look at attached file. >> >> >> >> Thanks >> SP >> >> >> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/8586c6d4-bd2e-4a50-b127-82b1d7dd5c45%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/8586c6d4-bd2e-4a50-b127-82b1d7dd5c45%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CA%2BvcePU1ejtgx8Na-5%2BhdAPn%2BFEwe3DXnbtOrjFF1B0Qb5t_hw%40mail.gmail.com.