+ Start a Discussion

Phone Data Type

The standard Phone field on Account has data type Phone. As per documentation, a phone number is validated and formatted based on user locale. However that doesn't seem to be the case. I can enter any characters and digits and it gets saved as is. 

Am i missing something ? 
Raj VakatiRaj Vakati
Phone type will accept the digits and chars also because its a string .. if we use the phone type it will be formatted based on the your user locale settings 
Thanks Raj Vakati.  I thought Phone data type accepts only Digits and, formats based on User locals settings 

so if I enter 798798798798798798798798, and user locale is USA, it would throw a validation error, because it should be 10 digits

And if i enter 1234567890 it would save it as (123) 456-7890 . 

But clearly thats not the case, it saved the phone number as  798798798798798798798798