+ Start a Discussion

field masks

i'm getting into a time cruch to complete this project
the default telephone format based on my locale is not what i want
i'd pefer if all phone numbers were forced to look like
613.555.5555 ext xxxx
so, user enters 10 numbers it formats as above
user enters more than 10 the format assumes international
else error
how do i go about this in salesforce
i assume i use a validation rule
could some show me a rule they've used for this
You could make a trigger on the object and use regular expressions to pull out the digits from the input and change them to a "clean" format.