You need to sign in to do that
Don't have an account?
yk will 5454
Number Field Formula Update
How do I do a field update when ever the number Field is edited or created it should update a new field with only the numbers for example 2124441111 and not (212) 444-1111 with the symbols.
I need to do this for external ID, I could not use the number Field for an external ID.
From: Number__c Data
Data Type: Phone
To: External_ID__c
Data Type: Text(12) (External ID)
In order to achieve your requirement you need to replace - "(", ")' and "-" with "".
Try using the following function:-
SUBSTITUTE(text, old_text, new_text)
Your final formula will look somewhat like this:-
SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(text, old_text, new_text),old_text1,new_text) , old_text2 , new_text)
where text is your field, old_text is "(" , old_text1 is ")" , old_text2 is "-" and new_text is "".