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')]
On Mon, 2009-04-20 at 09:56 -0700, mdipierro wrote: > web2py validation is ALWAYS done in the server. > > Massimo > > On 20 Apr, 11:43, Jose <[email protected]> wrote: > > Is it possible to validate in the server? > > If it is real. > > How it would be the procedure? > > > > Regards > > 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

