Re: How to access a form subfield? form design?

2009-06-16 Thread V
AFAIK you can't change your select box's options ordering. You should do it by changing MONTH_LIST directly. On Jun 15, 11:38 am, Bastien wrote: > Hi, > > I have a multi choice field to choose 1 or many months in checkboxes: > > in forms.py: > months_open = forms.MultipleChoiceField(choices = MO

How to access a form subfield? form design?

2009-06-15 Thread Bastien
Hi, I have a multi choice field to choose 1 or many months in checkboxes: in forms.py: months_open = forms.MultipleChoiceField(choices = MONTH_LIST, widget=forms.CheckboxSelectMultiple) then in my template I use {{ form.months_open }} to make the list appear. Now that works but the list appears