Hi,

forms.py
education = forms.MultipleChoiceField(choices=education_filler
(education_list))

In one of my forms I have the field to select multiple options for
education. I am able to populate all the choices and also multi
selection. But from the above code I would like to restrict the user
to select upto 3 choices and not more than that.

Could some one guide me on how to restrict the user to select the max
limit of choices or set the maximum limit while defining the field.

Thanks in advance.

Regards,
Lokesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to