Ah, thought there must be an existing way of doing it but I didn't realise you could use 'labels=' with IS_IN_SET :-)
On Nov 26, 1:59 am, DenesL <[EMAIL PROTECTED]> wrote: > cj, wouldn't that be equivalent to: > > db.table.myField.requires=IS_IN_SET([0,1,2],labels=[T('Alpha'), T > ('Beta'),T('Gamma')]) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---