Re: Iterate over MultipleChoiceList in Template

2009-05-27 Thread Retro486
e 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. > > Cheers, R > > On May 26, 8:09 am, Retro486 &l

Re: Iterate over MultipleChoiceList in Template

2009-05-26 Thread Retro486
uot; route but I hate relying on things that can be voluntarily disabled). Thanks again, -R On May 25, 5:39 pm, Retro486 <russell.bernha...@gmail.com> wrote: > Thanks, Richard. I'll take a look at the links you sent and see if I > can't work something out. In the mean

Re: Iterate over MultipleChoiceList in Template

2009-05-25 Thread Retro486
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, 9:48 pm, Retro486 <russell.be

Iterate over MultipleChoiceList in Template

2009-05-23 Thread Retro486
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