Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Workflow formula condition to catch instances where phone number field has non numerical characters
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}),'''WNZabcdefghijklmnopqrstuvwxyz:=[]$£()_-+/ ',' '),' ','')
-
-
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]%'
0