please see the question on stack overflow 
http://stackoverflow.com/questions/19999852/how-to-preselect-options-in-select-helper-in-web2py

reproduced here for convenience

when creating multiple select input with SELECT, OPTION helpers, I want to 
preselect some options, I tried following

OPTION('myOption', _value=val, value=[v1, v2])

extrapolating from the docs, but it does not work

-- 
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/groups/opt_out.

Reply via email to