This commit is contained in:
Rachid Mrad 2024-05-20 16:00:58 -04:00
parent 770dbc954a
commit f91b8cdd91
No known key found for this signature in database
5 changed files with 15 additions and 13 deletions

View file

@ -55,6 +55,5 @@ class UserProfileForm(forms.ModelForm):
"required": "Enter your email address in the required format, like name@example.com."
}
self.fields["phone"].error_messages["required"] = "Enter your phone number."
self.domainInfo = None
DomainHelper.disable_field(self.fields["email"], disable_required=True)