IS_EMTPY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
On Feb 9, 7:40 am, Jason Brower <encomp...@gmail.com> wrote: > Don't know if I can discribe this in type but... > I need a validator that can alow only one A B C D E F other wise it > should be 0 > I haven't figure out how to make IS_IN_SET(["A","B","C","D","E","F"]) > unique=True and default=0 all at the same time... > Best Regards, > Jason Brower -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@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.