[Zope3-Users] MultiCheckBoxWidget and formlib

Mats Nordgren mats at ronin-group.org
Fri May 26 19:41:18 EDT 2006


Could anyone give me a hint on setting up a MultiCheckBoxWidget with
formlib?


This is what I got:

class IMySchema(Interface):
  multichoice = Set(
    title=_('Pick one or many'),
    value_type = Choice(values=['one', 'two', 'three']))

class MyEditForm(form.EditForm):
  form_fields = form.Fields(IMySchema)
  form_fields['multichoice'].custom_widget = ????????


What in the world do I do to get this to work?

Any help greatly appreciated.

Sincerely,

Mats



More information about the Zope3-users mailing list