Re: [web2py] Re: client-side validation plugin

2012-09-03 Thread Alec Taylor
Can you also please add the IS_EMPTY_OR validator? On Fri, Aug 17, 2012 at 1:37 AM, Alec Taylor wrote: > Thanks :) > > > On Fri, Aug 17, 2012 at 1:15 AM, Franco wrote: > >> Try with this version. I need to warning you the python regex are >> different of javascript regex, so it could be problem

Re: [web2py] Re: client-side validation plugin

2012-08-16 Thread Alec Taylor
Thanks :) On Fri, Aug 17, 2012 at 1:15 AM, Franco wrote: > Try with this version. I need to warning you the python regex are > different of javascript regex, so it could be problematic depending of the > regex that you use. > > El miércoles, 15 de agosto de 2012 00:37:35 UTC-3, Alec Taylor escri

Re: [web2py] Re: client-side validation plugin

2012-08-16 Thread Franco
Try with this version. I need to warning you the python regex are different of javascript regex, so it could be problematic depending of the regex that you use. El miércoles, 15 de agosto de 2012 00:37:35 UTC-3, Alec Taylor escribió: > > Thanks a heap Franco :) > > The only suggestion I have is

Re: [web2py] Re: client-side validation plugin

2012-08-14 Thread Alec Taylor
Thanks a heap Franco :) The only suggestion I have is to add the `IS_MATCH` validator On Wed, Aug 15, 2012 at 11:12 AM, Franco wrote: > Ups, I made a double post. Anyway if there are any interested, here is an > example of use: > > def validation(): > > > > from plugin_ValidationEngine impo

[web2py] Re: client-side validation plugin

2012-08-14 Thread Franco
Ups, I made a double post. Anyway if there are any interested, here is an example of use: def validation(): from plugin_ValidationEngine import JsSQLFORM f = JsSQLFORM.factory( Field('first_name', requires = [IS_NOT_EMPTY(), IS_LENGTH(20, 3)],label = 'First Name'),