updated error messages

This commit is contained in:
David Kennedy 2024-10-02 19:11:12 -04:00
parent 2f009ee15c
commit bb3ceb4dea
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
9 changed files with 15 additions and 14 deletions

View file

@ -58,7 +58,7 @@ class UserProfileForm(forms.ModelForm):
"required": "Enter your title or role in your organization (e.g., Chief Information Officer)"
}
self.fields["email"].error_messages = {
"required": "Enter your email address in the required format, like name@example.com."
"required": "Enter an email address in the required format, like name@example.com."
}
self.fields["phone"].error_messages["required"] = "Enter your phone number."