From 706dd4fe2e9dcc0076bb46aa39aaa0d204b5753a Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:17:38 -0600 Subject: [PATCH] error messages! @abroddrick --- src/registrar/forms/domain_request_wizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/registrar/forms/domain_request_wizard.py b/src/registrar/forms/domain_request_wizard.py index d9754c87e..0b560f19c 100644 --- a/src/registrar/forms/domain_request_wizard.py +++ b/src/registrar/forms/domain_request_wizard.py @@ -115,11 +115,11 @@ def clean(self): if is_requesting_new_suborganization: # Validate custom suborganization fields if not cleaned_data.get("requested_suborganization"): - self.add_error("requested_suborganization", "Enter details for your organization name.") + self.add_error("requested_suborganization", "Requested suborganization is required") if not cleaned_data.get("suborganization_city"): - self.add_error("suborganization_city", "Enter details for your city.") + self.add_error("suborganization_city", "City is required") if not cleaned_data.get("suborganization_state_territory"): - self.add_error("suborganization_state_territory", "Enter details for your state or territory.") + self.add_error("suborganization_state_territory", "State, territory, or military post is required") elif not suborganization: self.add_error("sub_organization", "Select a suborganization.")