Adding a Phone Number Field?

Options
Quick Question πŸ™‹πŸ»β€β™‚οΈ

How do I add a phone number field in my Xano user table?Β 

So far, I created an "integer" column with a regex filter. Is this the best way to add a phone number to a user table?Β 

Comments

  • Chris Coleman
    Chris Coleman Administrator

    ADMIN

    Options
    Hey, Cameron! I have seen others in the past do it this way, and it seems like the best option, especially if phone numbers are coming in from different sources. For example, this helps eliminate issues where certain users might input their phone numbers differently, such as (123)4567890 vs 123-456-7890.
  • Ray Deck
    Ray Deck Trusted Xano Expert ✭✭✭
    Options
    When I work with phone fields I use the E.164 international standard, which usually looks like a + followed by up to 15 digits, depending on the location. Front-end systems usually know how to format this standard form into a local representation. So I usually store as a string, rather than an integer.Β