I'm using the following in a form to allow the user to input choices
on field named frequency.

sub_freq   = forms.ChoiceField(choices=SUB_FREQ,
widget=forms.CheckboxSelectMultiple)

This gives me a list of checkboxes and I check all of the checkboxes

Is there anyway to limit the enduser to only checking one box?
For example

Frequency
[  ] Once a week
[  ] Once a month
[X] Once a year

-- 
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=en.

Reply via email to