On Wed, Apr 22, 2009 at 9:20 AM, Michal Jursa <mic...@jursa.cz> wrote: > Just use: > > SQLField('field_name', requires = IS_IN_SET(['val1', 'val2'])
Ok, I'm doing this way, but my doubt is: how web2py will handle this? Will it be a 'string' field with validation made by web2py or will it be a ENUM() field (example, in MySQL)? -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ 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 web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---