Thanks for response. But I build form manually, not from database table. What I have to do in this case?
On Monday, May 20, 2013 1:52:06 PM UTC+7, Niphlod wrote: > > when you receive the form value, it's probably inside a > form.vars.name_of_the_field . > > save it somewhere (database, session, cache, etc) and use > > db.tablename.name_of_the_field.default = your previously saved value > > > > > > On Monday, May 20, 2013 6:04:27 AM UTC+2, Denis Rykov wrote: >> >> I have SELECT item in my form. How I can save state of this item after >> form submission? >> It looks like I should use selected attribute, but I can't find any >> examples how I can do it with web2py. >> > -- --- 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.

