Skip to main content
ExLibris
Ex Libris Knowledge Center

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

  • Article Type: Q&A
  • Product: Alma

Question

Adding an email to a patron with extension (e.g. "q.com"), Alma gives error message" "Field Email Address must have a valid form".

Answer

Please navigate to: User Configuration Menu > Other Setings

The row for "email_regex", which control the validation of the emails structures, may currently 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*

The email in question has a dot after a letter, and is not allowed by the regex.

Please test by changing to:


^.+@[^\.].*\.[a-z]{2,}$

 

Please note 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/

Category: User Management - Alma

Subject: Fulfillment - Alma


  • Article last edited: 12-December-2016