[Answer]-MultipleChoiceFileld in ModelForm will only submit when default option available but nothing is selected

1👍

The problem is that you’re using a MultipleChoiceField in your form, but you have a CharField in your model. A CharField stores strings, not lists, so your model is expecting a single (string) value from the list of choices, not the list [u'LOCAL', u'NATIONAL', u'PRESIDENTIAL'] that your CheckboxSelectMultiple is returning.

You could make elections a ManyToMany field and thus store multiple values in the single field elections.

Or check out this question for further clarification.

Leave a comment