mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Merge pull request #1804 from cisagov/nl/1586-zip-code-error-message
Issue #1586 - Use one error message for zip code validation or when a zip code field is empty
This commit is contained in:
commit
abf91ca4ed
1 changed files with 1 additions and 0 deletions
|
@ -284,6 +284,7 @@ class OrganizationContactForm(RegistrarForm):
|
|||
message="Enter a zip code in the form of 12345 or 12345-6789.",
|
||||
)
|
||||
],
|
||||
error_messages={"required": ("Enter a zip code in the form of 12345 or 12345-6789.")},
|
||||
)
|
||||
urbanization = forms.CharField(
|
||||
required=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue