Check out the book and the _and parameter.  Here is the sample from the 
book:

subset=db(db.person.id>100)
db.dog.owner.requires = IS_IN_DB(db, 'person.id', '%(name)s',
                                 _and=IS_NOT_IN_DB(subset,'person.id'))


-Jim

On Tuesday, July 16, 2013 8:12:46 AM UTC-5, Eduardo Cruz wrote:
>
> is there a way that I can make the IS_IN_DB validator to show all the 
> records in an select in the form but not the ones that have the field 
> active set to False?

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to