Actually, I fixed it another way. My problem was that I was using the same
options as input for multiple SELECT()s. If I create new instances of
OPTIONS() for each drop-down box, the state is correctly remembered.
Thanks,
Neil
On Saturday, May 12, 2012 12:22:13 AM UTC+1, Massimo Di Pierro wrote
You need
name = 'q%d' % (q_num)
SELECT(,value=request.vars.name or '0',...)
Only SQLFORM remembers the state. primitive tags like SELECT, INPUT,
TEXTAREA that do not know state. you must pass state.
On Friday, 11 May 2012 15:52:21 UTC-5, Neil wrote:
>
> I'm creating a form with drop down
2 matches
Mail list logo