This worked perfectly. Thank you, sir. Also, thanks to the other
guys for pointing out the pages in the book - that lead me to discover
the book in the first place.
On Feb 11, 1:36 pm, Thadeus Burgess wrote:
> is this integrated into sqlform?
>
> Field(..., requires=IS_IN_SET((1, 2, 3), ("Car
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 wrote:
> You could also try this
> method:http://wiki.web2py.com/Form_Select_O
You could also try this method:
http://wiki.web2py.com/Form_Select_Options_from_DB
On Feb 11, 2:17 pm, villas 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 su
> 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 unsubscri
SQLFORM.factory(Field('hi', 'text'))
the factory method acts just like db.define_table but does not hook
into a database.
-Thadeus
On Thu, Feb 11, 2010 at 2:07 PM, Donald Hughes wrote:
> I was trying to use the form_example as a starting point:
> form=FORM(TABLE(TR("Sure?",SELECT('yes','no'
I was trying to use the form_example as a starting point:
form=FORM(TABLE(TR("Sure?",SELECT('yes','no',_name="sure",requires=IS_IN_SET(['yes','no']))),
Can I use sqlform without a database to populate the data?
On Feb 11, 1:36 pm, Thadeus Burgess wrote:
> is this integrated into sqlform?
>
>
6 matches
Mail list logo