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 <[email protected]> wrote: > is this integrated into sqlform? > > Field(..., requires=IS_IN_SET((1, 2, 3), ("Car", "Van", "Truck"))) > > -ThadeusOn Thu, Feb 11, 2010 at 1:32 PM, Donald Hughes > <[email protected]> wrote: > > Sorry, I'm really new with both Python and web2py (coming from c#/ > > asp.net)! > > > I'm trying to create a statically-initialized dropdown (I'm not > > populating from a database) that has values different from the > > displayed text. A trivial example of the desired HTML output: > > > <select> > > <option value="1">Car</option> > > <option value="2">Van</option> > > <option value="3">Truck</option> > > </select> > > > -- > > 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 > > athttp://groups.google.com/group/web2py?hl=en. -- 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.

