[Answered ]-Change ChoiceField option after clean method in Django form

2👍

The user who submits an invalid form should be rewarded with additional options? Does not make sense to me… but yeah you can always change the choices available in a form field:

def clean(self):
    self.fields['some_choice_field'].choices = [[1,'one'],[2, 'two'],[None, 'I refuse to answer']]

Leave a comment