On Nov 20, 7:52 pm, leoz01 <leozleo...@gmail.com> wrote:
> I think the easiest way is to make your own widget or otherwise you
> can make your own form field.
>
> On 19 nov, 10:19, Benjamin Wolf <b...@shs-it.de> wrote:
>
>
>
> > Hello,
>
> > I'm using Django's form and ModelMultipleChoiceField.
> > ModelMultipleChoiceField produces a select list with multiple options.
> > Is it possible to use
> > checkboxes instead?
>
> > Thanks,
> > Greets Ben

I seem to remember coming across a MultiCheckboxWidget somewhere.

In fact, it is called CheckboxSelectMultiple, and there is a post in
this forum about it:

http://groups.google.com/group/django-users/browse_thread/thread/97d0c9bf70757e2e/d723ff480aef0cc2?lnk=raot

And a post on Stack Overflow:

http://stackoverflow.com/questions/1268209/django-modelform-checkbox-widget

Matt.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to