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 listsOn Feb 12, 2:12 am, Brian M <[email protected]> wrote: > You could also try this > method:http://wiki.web2py.com/Form_Select_Options_from_DB > > On Feb 11, 2:17 pm, villas <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

