diff --git a/proposals/forms.py b/proposals/forms.py index 41d14c10..602c683a 100644 --- a/proposals/forms.py +++ b/proposals/forms.py @@ -889,9 +889,14 @@ def clean(self): from proposals.utils.stepper import Stepper validator = Stepper(self.instance, request=self.request) - # And then we append stepper errors to show them to the user - # on the submit page - if validator.get_form_errors(): + + form_errors = validator.get_form_errors() + + if form_errors: + # If there are only errors on the submit form, we override this + # validation. Otherwise saving the updated data becomes impossible + if len(form_errors) == 1 and "proposals/submit" in form_errors[0]["url"]: + return self.add_error( None, _("Aanvraag bevat nog foutmeldingen"),