Hey guys
I want to add a condition to a workflow to throw a warning message on screen if the user enters a phone number into customer record phone field that’s got a non numerical character in it.
How can I do this, I’ve tried the following and none work
replace(translate(({phone}),”’WNZabcdefghijklmnop qrstuvwxyz:=[]$ยฃ()_-+/ ‘,’ ‘),’ ‘,”)
–
–
Phone contains ‘||:||=||[||]||ยฃ||(||)||_||-||+||/||W||N||Z||a||b||c||d||e||f||g||h||i||j||k||l||m|| n||o||p||q||r||s||t||u||v||w||x||y||z
–
IF {phone} LIKE ‘%[^0-9]%’
–
CASE WHEN
LENGTH(TRIM(TRANSLATE({phone}, ‘ +-.0123456789’, ‘ ‘))) != ”
This is a cached copy. Click here to see the original post.