Made "required" error message match "invalid" error message for zip code on Organization name and mailing address

This commit is contained in:
CocoByte 2024-02-20 16:10:54 -07:00
parent 92bd8f51b9
commit e27acb2e93
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -284,6 +284,9 @@ 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,