---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 ---
---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 -
2 matches
Mail list logo