IS_IN_SET(range(1,10)) should work. If not try IS_IN_SET([str(i) for i in range(1,10)])
On Nov 18, 5:44 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > I know that a dropdown list can be created with > is_in_set(['yes','no']), but i need numeric values for the select > items. > > <select> > <option value=1>Yes</option> > <option value=2>No</option> > > </select> > > can an is_in_set provide this kind of select? > > thx, > > -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

