thanks, but I kinda answered myself.

I mean it can be in database so is_not_in_db doesnt help at all...
Its just -> it can be in database but it also can be null...


On 5 Cze, 17:31, pbreit <pbreitenb...@gmail.com> wrote:
> Try something like this:
>
> db.person.name.requires = [IS_NOT_EMPTY 
> <http://web2py.com/book/default/docstring/IS_NOT_EMPTY>(),
>                            IS_NOT_IN_DB 
> <http://web2py.com/book/default/docstring/IS_NOT_IN_DB>(db, 'person.name')]

Reply via email to