Skip to main content
ExLibris
Ex Libris Knowledge Center

"Field Email Address must have a valid form" when updating a user

 

  • Product: Alma

Question

Adding an email to a patron with extension (e.g. full stop or period with "q.com" or "u.college"), gives error message: "Field Email Address must have a valid form". 

Answer

Change the validation rules in: Configuration > User Management > General > Other Settings > email_regex.

This parameter controls what is a valid email format.

Out of the box the parameter may have: 
(^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$)|\s*

An easier validation rule is: 
^.+@[^\.].*\.[a-z]{2,}$

The expression should have no trailing or leading spaces. These will cause the regex to not work.

Additional Information

Can be verified in: http://regexpal.com/

Click here for documentation on Configuring Other Settings (User Management).

 


  • Article last edited: 06-FEB-2019.
//Feedback