mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-06 04:27:22 +02:00
Fixed form state check
This commit is contained in:
parent
377cb30818
commit
c5b841f6fb
2 changed files with 5 additions and 4 deletions
|
@ -685,9 +685,9 @@ class CisaRepresentativeForm(BaseDeletableRegistrarForm):
|
|||
email = forms.EmailField(
|
||||
label="Email",
|
||||
max_length=None,
|
||||
required=False,
|
||||
error_messages={
|
||||
"invalid": ("Enter your email address in the required format, like name@example.com."),
|
||||
"required": ("Enter the email address of your CISA regional representative."),
|
||||
},
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue