Give your SELECT a name: SELECT(..., name='myselect')
and upon form submission, the selected value will be in request.post_vars.myselect, as with all form inputs. Anthony On Wednesday, May 14, 2014 9:04:35 AM UTC-4, alex wrote: > > hello guys, need help with SELECT helper. > Lets say I have a SELECT object: > sel = SELECT(OPTION('database1', _value='1'), OPTION('database2', > _value='2'), .... ) > > I would like to display database information according to the selected > option in SELECT helper. How can I get the current selected value ?? > Thanx a lot. > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.