please post a complete controller that exhibits the problem. Massimo
On Apr 20, 1:09 pm, Jose <jjac...@gmail.com> wrote: > On 20 abr, 14:47, Jason Brower <encomp...@gmail.com> wrote: > > > Most of the time validation is done according to the restrictions you > > set in your table. > > For example, you can set a table item to be only a Email. > > After creating a table called users with a item called email I set this. > > The first validates if it's an email or not. The second validates if > > it's part of itself, if so, it fails. (Makes sure it is unique.) > > db.users.email.requires = [IS_EMAIL(), IS_NOT_IN_DB(db,'users.email')] > > It happens that this field does not belong to any table, but I add it > at the end of the form. Similar to the use of captchas. > > Jose --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---