Skip to main content
Ex Libris Knowledge Center

"Field Phone Number must be Numeric" error when updating user

  • Product: Alma

Question

Trying to add new or edit user contact information gives error: "Field Phone Number must be Numeric".

Current setup for "phone regex" may be: (((\s)*?\d(\s)*?-?)*(\d))?(\s)*

Answer

One library applied the following syntax to resolve the email error, in:

User Management Configuration Menu > Other Settings > phone_regex

^([0-9\(\)\/\+ \-]*)$

And here is another suggestion, enabling long phone numbers (more than 9 digits):

^(\s)*[\d\+\(\)\- x]{4,}$

Additional Information

The syntax cam be tested at: http://regexpal.com

 

 

 


  • Article last edited: 31-MAY-2017