Can you print request.vars when you submit. This is odd.

On May 12, 11:24 am, Clayton <[email protected]> wrote:
>     groups=getgroups()
>     group_options = [OPTION(group.description,_value=str(group.id))
> for group in groups]
>
>     form=FORM(TABLE(TR(TD('Search:', INPUT(_name='search'),
>          INPUT(_type='submit', _value='Search')),
>          TD(T(' Downloadable by: '),
> SELECT(*group_options,**dict(_name='downloadgroup'))),
>          TD(T(' Administered by: '),
> SELECT(*group_options,**dict(_name='admingroup')))),_width="100%"))
>     if form.accepts(request.vars, session, keepvalues=True):
>     (etc.etc)
>
> There are two SELECT groups using the same options, different name.
> keepvalues resets *both* dropdowns to the value of the *last* dropdown
> on submit. Am I doing something wrong?
>
> Clayton

Reply via email to