Field(..., requires=IS_IN_SET([(1,'a'),(2,'b')(3,'c')]) should work
for order preserving list
Field(..., requires=IS_IN_SET({1:'a', 2:'b', 3:'c'}) should work for
non order preserving lists

On Feb 12, 2:12 am, Brian M <bmere...@gmail.com> wrote:
> You could also try this 
> method:http://wiki.web2py.com/Form_Select_Options_from_DB
>
> On Feb 11, 2:17 pm, villas <villa...@gmail.com> wrote:
>
>
>
> > > Can I use sqlform without a database to populate the data?
>
> > See SQLFORM.factory
> > Web2py book/manual  section 7.3  Pg. 201

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to