Formatting phone numbers
Options
![Joe Alioto](https://us.v-cdn.net/6037124/user_avatars/2350028.jpg)
Joe Alioto
Member ✭
Hi all!
I need to determine whether or not a potential new user exists based on whether or not their phone number is already stored in my db. But, phone numbers are being provided from different sources - some from user input, some from pulling contact info, etc.. I'm only using US phone numbers for now. Does anyone have any good tips/tricks on how to ensure uniformity in the values I store?
I need to determine whether or not a potential new user exists based on whether or not their phone number is already stored in my db. But, phone numbers are being provided from different sources - some from user input, some from pulling contact info, etc.. I'm only using US phone numbers for now. Does anyone have any good tips/tricks on how to ensure uniformity in the values I store?
Comments
-
Hi - I would consider taking a look at the Twilio extension. The function Twilio_Send_SMS is a good example of what you can do for uniformity in the function stack the replace filter and json_decode
[CleanShot 2021-11-19 at 16.57.59.png]
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback