Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Phone Number field on User table

pramodkumar
Tera Expert

Hi All,

There is a mobile phone (phone_number type) field OOB on sys_user table. When a user enters incorrect format, a error message is shown. Where is that validation happening? I do not see any client script

 

 

Thanks!

4 REPLIES 4

Community Alums
Not applicable

Hey there,

 

Can you specify where you are seeing this? If you are in the platform view looking at the regular sys_user form, there is no configuration OOB that would do that. If you are on some sort of catalog item, this may be a result of someone having configured a Regular Expression for that variable: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

Hope that helps!

~Nick

Hi Nick,

I am talking about sys_user table, if mobile_phone field is not on the form please add it to the form. Then enter some mobile number in wrong format, then you will see the error

@pramodkumar Field type for this field is "Phone Number" so it only accept phone numbers. You can find more about this in below docs link 

 

 

GangadharRavi_0-1726793799595.png

 

https://docs.servicenow.com/bundle/xanadu-platform-administration/page/administer/field-administrati...

 

Please mark my answer correct and helpful if this works for you.

 

Community Alums
Not applicable

Could you provide a screenshot of the form and error? Could you also provide a screenshot of the dictionary record? Someone may have changed the type to use the "Phone Number (E164)"  which does have additional logic: https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/field-admini...

 

~Nick