That worked -- thanks!
On Mon, Nov 22, 2010 at 4:58 PM, mdipierro wrote:
> IS_IN_DB(db,'field.id','%(name)s',groupby=db.field.name)
>
> On Nov 22, 4:23 pm, Audra Rudys wrote:
> > I have a form that only allows a subset of choices for some of the
> fields,
> > so I'm using a SQLFORM Factory and
IS_IN_DB(db,'field.id','%(name)s',groupby=db.field.name)
On Nov 22, 4:23 pm, Audra Rudys wrote:
> I have a form that only allows a subset of choices for some of the fields,
> so I'm using a SQLFORM Factory and the IS_IN_DB validator to generate a list
> of allowable values for the drop down list.
2 matches
Mail list logo