Remaining ANDI updates

This commit is contained in:
CocoByte 2024-10-09 16:55:48 -06:00
parent 8d13ea2f9f
commit ddc98b6371
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
3 changed files with 11 additions and 6 deletions

View file

@ -229,7 +229,8 @@ class SeniorOfficialForm(RegistrarForm):
email = forms.EmailField(
label="Email",
max_length=None,
error_messages={"invalid": ("Enter an email address in the required format, like name@example.com.")},
error_messages={"invalid": ("Enter an email address in the required format, like name@example.com."),
"required": ("Enter an email address in the required format, like name@example.com.")},
validators=[
MaxLengthValidator(
320,