Excellent. Thanks. In turnk.
On Dec 7, 5:19 pm, DenesL <[EMAIL PROTECTED]> wrote: > This line: > > > (_type="checkbox",_name=opt,value=False,_value='on')) > > should be: > (_type="checkbox",_name=str(opt),value=False,_value='on')) > > otherwise the name attribute would be numeric and the _validate > function in gluon/html would try to get the value from the > request_vars dictionary using an incorrect key (numeric instead of > string). > > I would treat this as a bug and change the _validate function line 350 > (for rev.515) in gluon/html from: > name=self['_name'] > > to > name=str(self['_name'] ) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

