This works visually to display nice checkboxes instead of the multi select list, but no checked values are saved in the table. Any suggestions?
Thanks. I added this code into t2.py method def base_table(db,tablename): t=SQLTable(db,'t2_person', : : db.Field('skills_Designer'), : : t.skills_Designer.requires=IS_IN_SET(['Interior', 'Graphic', 'Architectural', 'Decorator'],multiple=True) skills_Designercbs = CheckboxesWidget() skills_Designerwidget = skills_Designercbs.widget (t.skills_Designer,[]) t.skills_Designer.widget = lambda sqlfield, nonetype: skills_Designerwidget ------------------------------------------------------------------------------------------------------------------------------------- And I added code into def _create_tables(self): : : t.exposes= ['name', .... ,'skills_Designer'] t.displays=['name', .... ,'skills_Designer'] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---