On Sunday, September 1, 2013 3:56:15 AM UTC-7, Ovidio Marinho wrote:

> the validations puts it:
>
> db.project.company_name.requires = IS_IN_DB(db, 'company', 
> '%(company_name)s')
>

First, you'll get that validator by default, so no need to specify it 
explicitly. Second, in terms of display, that validator only affects the 
SELECT list in a SQLFORM -- it does nothing for other places you might 
display the value of the company_name field.

Anthony 

-- 

--- 
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