[web2py] Re: IS_IN_SET texts

2011-02-02 Thread Mirek Zvolský
For me works following syntax too: IS_IN_SET((("yes",T("yes")), ("no",T("no" IS_IN_SET(((1,T("yes")), (0,T("no" On 27 led, 21:33, DenesL wrote: > You can use > requires=IS_IN_SET({1:'Fixed yesterday', 2:'to be fixed today', ...})

[web2py] Re: IS_IN_SET texts

2011-01-27 Thread DenesL
You can use requires=IS_IN_SET({1:'Fixed yesterday', 2:'to be fixed today', ...}) On Jan 27, 9:32 am, Kenneth Lundström wrote: > I have a field priority = integer, can be anything between 1-5 (or 6 in > Python way) > > but I d like to make a dropdown with options, '1, Fixed yesterday', '2, > to