Re: [web2py] Re: checkboxes and radio widget failed with multiple validators

2010-06-17 Thread Mathieu Clabaut
Any news on this problem ? (not that I'm in a hurry, but I'd like to be able to use that feature in a not so far future) -Mathieu On Thu, Jun 3, 2010 at 21:18, mdipierro wrote: > I will look into this hopefully tomorrow. > > On Jun 3, 12:36 pm, Mathieu Clabaut wrote: > > Hello, > > > > Is

Re: [web2py] Re: checkboxes and radio widget failed with multiple validators

2010-06-04 Thread Mathieu Clabaut
Good point ! My example was not so good. But anyway I have another specific validator to add... -Mathieu On Fri, Jun 4, 2010 at 06:42, Iceberg wrote: > Maybe your patch is ok. But wouldn't it be not necessary to use > requires=[IS_IN_SET(...), IS_NOT_EMPTY()]? Because you must already > mention

[web2py] Re: checkboxes and radio widget failed with multiple validators

2010-06-03 Thread Iceberg
Maybe your patch is ok. But wouldn't it be not necessary to use requires=[IS_IN_SET(...), IS_NOT_EMPTY()]? Because you must already mention all the allowed values in the IS_IN_SET() and usually empty value in not inside. On Jun4, 1:36am, Mathieu Clabaut wrote: > Hello, > > Is there any interest i

[web2py] Re: checkboxes and radio widget failed with multiple validators

2010-06-03 Thread mdipierro
I will look into this hopefully tomorrow. On Jun 3, 12:36 pm, Mathieu Clabaut wrote: > Hello, > > Is there any interest in this problem ? Is there any chance a correction may > be integrated into trunk ? > > -Mathieu > > On Thu, May 27, 2010 at 20:20, Mathieu Clabaut > > > >  wrote: > > Reported

[web2py] Re: checkboxes and radio widget failed with multiple validators

2010-06-03 Thread Mathieu Clabaut
Hello, Is there any interest in this problem ? Is there any chance a correction may be integrated into trunk ? -Mathieu On Thu, May 27, 2010 at 20:20, Mathieu Clabaut wrote: > Reported as http://code.google.com/p/web2py/issues/detail?id=80 > > Hello, > > I've met a problem with checkboxes an

[web2py] Re: checkboxes and radio widget failed with multiple validators

2010-05-27 Thread Mathieu Clabaut
Patch : diff -r 9802a87428fa gluon/sqlhtml.py --- a/gluon/sqlhtml.py Wed May 26 17:17:46 2010 +0200 +++ b/gluon/sqlhtml.py Thu May 27 20:37:56 2010 +0200 @@ -223,10 +223,15 @@ attr = OptionsWidget._attributes(field, {}, **attributes) -if hasattr(field.requires, 'options'): -