diff --git a/inscription/forms.py b/inscription/forms.py index 498155f..29bb25d 100644 --- a/inscription/forms.py +++ b/inscription/forms.py @@ -201,7 +201,8 @@ def clean(self): else: msg = forms.ValidationError("Veuillez renseigner ce champs SVP.") for field in required: - self.add_error(field, msg) + if self.cleaned_data.get(field) is None: + self.add_error(field, msg) return self.cleaned_data class Meta: