----model file like this ------- db.define_table('options_contain_chinease', Field('student_name', requires = IS_IN_SET(["小王","小长","老李"])), ) db.table_contain_chinease.student_name.widget = CheckboxesWidget.widget
---------controller file like this --------- def test_chinease(): form = SQLFORM(db.options_contain_chinease) if form.accepts(request.vars, session): pass return dict(form=form) when select an item and submit the form, an error will occur. Maybe web2py can't deal with Chinease character correctly. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.