2011/2/11 Anthony <[email protected]> > On Friday, February 11, 2011 9:50:32 AM UTC-5, rochacbruno wrote: >> >> 2011/2/11 Massimo Di Pierro <[email protected]> >> >> you can have >>> >>> requires=IS_IN_DB(....,_and=IS_NOT_IN_DB(...)) >>> >> >> The above is a new syntax for me, is it on the book or somewhere? >> > > Yes, in the IS_IN_DB section here: > http://web2py.com/book/default/chapter/07#Database-Validators > >
I needed something like that some time ago, but I did not see the '_and' in book, then I ran in to a different solution (created my own validator) Thank you

