From 3f27b1acdc02aa0de9947732b71f23543792b11e Mon Sep 17 00:00:00 2001 From: asaki222 Date: Wed, 13 Nov 2024 11:26:44 -0500 Subject: [PATCH] changes --- src/registrar/assets/js/get-gov.js | 2 +- src/registrar/forms/domain_request_wizard.py | 6 +++--- .../templates/domain_request_requesting_entity.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/registrar/assets/js/get-gov.js b/src/registrar/assets/js/get-gov.js index 3d6a54221..e317a6647 100644 --- a/src/registrar/assets/js/get-gov.js +++ b/src/registrar/assets/js/get-gov.js @@ -2804,7 +2804,7 @@ document.addEventListener('DOMContentLoaded', function() { // Add fake "other" option to sub_organization select if (select && !Array.from(select.options).some(option => option.value === "other")) { - select.add(new Option("Other (enter your organization manually)", "other")); + select.add(new Option("Other (enter your suborganization manually)", "other")); } if (requestingNewSuborganization.value === "True") { diff --git a/src/registrar/forms/domain_request_wizard.py b/src/registrar/forms/domain_request_wizard.py index bfbc22124..356048734 100644 --- a/src/registrar/forms/domain_request_wizard.py +++ b/src/registrar/forms/domain_request_wizard.py @@ -115,11 +115,11 @@ class RequestingEntityForm(RegistrarForm): if is_requesting_new_suborganization: # Validate custom suborganization fields if not cleaned_data.get("requested_suborganization"): - self.add_error("requested_suborganization", "Requested suborganization is required.") + self.add_error("requested_suborganization", "Enter the name of your suborganization.") if not cleaned_data.get("suborganization_city"): - self.add_error("suborganization_city", "City is required.") + self.add_error("suborganization_city", "Enter the city where your suborganization is located.") if not cleaned_data.get("suborganization_state_territory"): - self.add_error("suborganization_state_territory", "State, territory, or military post is required.") + self.add_error("suborganization_state_territory", "Select the state, territory, or military post where your suborganization is located") elif not suborganization: self.add_error("sub_organization", "Suborganization is required.") diff --git a/src/registrar/templates/domain_request_requesting_entity.html b/src/registrar/templates/domain_request_requesting_entity.html index d09e8ab89..dfda5e2fb 100644 --- a/src/registrar/templates/domain_request_requesting_entity.html +++ b/src/registrar/templates/domain_request_requesting_entity.html @@ -34,7 +34,7 @@

Add suborganization information

This information will be published in .gov’s public data. If you don’t see your suborganization in the list, - select “other” and enter the name or your suborganization. + select “other”.

{% with attr_required=True %} {% input_with_errors forms.1.sub_organization %}