From 1e4be56e8ebb62d6bb1fa5b363b11ef28577de5e Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Thu, 4 Apr 2024 08:40:40 -0600 Subject: [PATCH] 254 -> 320 characters --- src/registrar/forms/domain.py | 8 ++++---- src/registrar/forms/domain_request_wizard.py | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/registrar/forms/domain.py b/src/registrar/forms/domain.py index 0d135c58b..12417c0d2 100644 --- a/src/registrar/forms/domain.py +++ b/src/registrar/forms/domain.py @@ -36,8 +36,8 @@ class DomainAddUserForm(forms.Form): error_messages={"invalid": ("Enter your email address in the required format, like name@example.com.")}, validators=[ MaxLengthValidator( - 254, - message="Response must be less than 254 characters.", + 320, + message="Response must be less than 320 characters.", ) ], ) @@ -306,8 +306,8 @@ class DomainSecurityEmailForm(forms.Form): }, validators=[ MaxLengthValidator( - 254, - message="Response must be less than 254 characters.", + 320, + message="Response must be less than 320 characters.", ) ], ) diff --git a/src/registrar/forms/domain_request_wizard.py b/src/registrar/forms/domain_request_wizard.py index 9ac17b145..1e8034fe2 100644 --- a/src/registrar/forms/domain_request_wizard.py +++ b/src/registrar/forms/domain_request_wizard.py @@ -372,8 +372,8 @@ class AuthorizingOfficialForm(RegistrarForm): error_messages={"invalid": ("Enter an email address in the required format, like name@example.com.")}, validators=[ MaxLengthValidator( - 254, - message="Response must be less than 254 characters.", + 320, + message="Response must be less than 320 characters.", ) ], ) @@ -575,8 +575,8 @@ class YourContactForm(RegistrarForm): error_messages={"invalid": ("Enter your email address in the required format, like name@example.com.")}, validators=[ MaxLengthValidator( - 254, - message="Response must be less than 254 characters.", + 320, + message="Response must be less than 320 characters.", ) ], ) @@ -639,8 +639,8 @@ class OtherContactsForm(RegistrarForm): }, validators=[ MaxLengthValidator( - 254, - message="Response must be less than 254 characters.", + 320, + message="Response must be less than 320 characters.", ) ], )