There is something wrong with validators.py in line 289
values = re.compile("[\w\-:]+").findall(str(value))
if I change it with
values = value
everything is ok

Maybe it's a bug

On 3月29日, 下午9时33分, hywang <[email protected]> wrote:
> -------model file is like this ---------------------
> db.define_table('options_contain_chinease',
>     Field('student_name', requires = IS_IN_SET(["Jim","小长","老李"],
> multiple=True)),
> )
> db.options_contain_chinease.student_name.widget =
> CheckboxesWidget.widget
>
> ------controller file is like this ---------------------
> def options_contain_chinease():
>     form = SQLFORM(db.options_contain_chinease)
>     if form.accepts(request.vars, session):
>         pass
>     return dict(form=form)
>
> if checked one item and submit, everything is ok, however, when
> checked more than one items and submit the form, an error will occur .
> Is it a bug ?
>
> thanks !

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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.

Reply via email to