diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 5aaa738e7..b45ee5f68 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -586,9 +586,9 @@ class OtherContactsForm(RegistrarForm): ) # Override clean in order to correct validation logic - def clean(self): - cleaned = super().clean() #self.cleaned_data <---Why does this cause a CORS error? - form_is_empty = all(v is None or v == '' for v in cleaned.values()) + def clean(self): + cleaned = super().clean() + form_is_empty = all(v is None or v == "" for v in cleaned.values()) if form_is_empty: # clear any errors raised by the form fields # (before this clean() method is run, each field @@ -651,6 +651,7 @@ class AnythingElseForm(RegistrarForm): ], ) + class RequirementsForm(RegistrarForm): is_policy_acknowledged = forms.BooleanField( label="I read and agree to the requirements for operating .gov domains.",