You need to sign in to do that
Don't have an account?
jishan roy
10 digit Phone number format is (xxx) xxx-xxxx but i want less than 10 digit then also format should be work
Hii all,
can anyone help me out of this question?
10 digit Phone number format is (xxx) xxx-xxxx but i want less than 10 digit then also format should be work. If suppose my phone field have 9 digit 123456789 then i want this type of format like (123) 456-789
is it possible? it should be work between 7 number.
can anyone help me out of this question?
10 digit Phone number format is (xxx) xxx-xxxx but i want less than 10 digit then also format should be work. If suppose my phone field have 9 digit 123456789 then i want this type of format like (123) 456-789
is it possible? it should be work between 7 number.
You could create a formula field with text as return type and reference the phone field on your object like below
If this information helps, please mark the answer as best. Thank you
its worked good but the thing is when i edited phone number suppose in phone field had 7 digit number so its look like (123) 456-7
like this and when i update the phone number and i add one more digit then also its changed all format and look like ((12) 3) -456-78 like this i want when i edited then also show (123) 456-78 like this is it possible?
thanks in advance!
I've tested in my org and it works as expected even after editing
If this information helps, please mark the answer as best. Thank you
above formula is not properly working on update i use this formula on flow builder.
Thanks
IF( NOT(ISBLANK(Phone)), IF( LEN(Phone) >= 7 && LEN(Phone) <= 10, "(" & LEFT(Phone,3) & ") " & MID(Phone,4,3) & "-" & RIGHT(Phone, LEN(Phone)-6), IF( LEN(Phone) < 7, Phone, LEFT("(" & LEFT(Phone,3) & ") " & MID(Phone,4,3) & "-" & RIGHT(Phone, LEN(Phone)-6),14) ) ), "" )
for this formula i want greater than 10 digit on that format is it possible?