I'm using the CheckboxSelectMultiple widget in a MultipleChoiceField
and I need more control over where the field labels go and the field
themselves. So far this is the only field type I've had a problem
with. I've spent at least a few hours trying to find info on the web
to no avail.
I can't fig
le to get it
> working:http://stackoverflow.com/questions/733880/iterate-over-choices-in-che...http://www.zoia.org/blog/2007/03/24/iterating-over-items-of-selection...
>
> Please post if you find a solution and I will if I get it first :-)
>
> Cheers.
>
> On May 23
go the "normal fix" route but I hate relying on things that can be
voluntarily disabled).
Thanks again,
-R
On May 25, 5:39 pm, Retro486 wrote:
> Thanks, Richard. I'll take a look at the links you sent and see if I
> can't work something out. In the meantime I've
force_unicode(w))
> for w in self]))
>
> In the form code that is returned to the view:
> class myform(forms.ModelForm):
> myfield = forms.IntegerField(widget = forms.RadioSelect(renderer =
> CustomRadioRenderer, choices=Profile.MYFIELD_CHOICES))
>
> Hope this helps you.
>
&g
4 matches
Mail list logo