ph_number field type formatting

pramodkumar
Tera Expert

Hi All,

There is an OOB field Mobile phone (ph_number type) field on sys_user and it is on the form. When a user enters a 10 digit number it is formatted to (xxx) xxx-xxxx. I do not see any client script or dictionary configurations. How to find where the formatting is configured?

 

Thanks!

2 REPLIES 2

Akash4
Kilo Sage

Hi Pramod,

This is expected behaviour on field type since the Phone Number data type includes built-in formatting logic. Probably the most common format North American Numbering Plan. It is straight forward from SN configuration.
Alternatively, you can create new custom field with number data type & restrict the numbering digits using RegEx.

Happy learning!