-------model file is like this ---------------------
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET(["Jim","小长","老李"])),
)
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.