IS_IN_DB can use a query can't it?
-Thadeus
On Tue, Jan 26, 2010 at 3:46 PM, selecta wrote:
> Is there a validator that creates a select with options from a list of
> tuples
>
> what I want do do is
> Field("folder","integer",requires = IS_IN_TUPLELIST([('myfolder',12),
> ('subfoler',23)]))
Is there a validator that creates a select with options from a list of
tuples
what I want do do is
Field("folder","integer",requires = IS_IN_TUPLELIST([('myfolder',12),
('subfoler',23)]))
so that is creates
SELECT([OPTION(name,_value=id) for name,id in [('myfolder',12),
('subfoler',23)] ],_name='
2 matches
Mail list logo