• Paul Nocera

    (@paul4mihc)


    The current default for a phone number does not allow dashes or parentheses for the area code… I’d like to be able to format my phone number field so that a user can add whatever they want to separate the area code and the other parts of the number.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Paul Nocera

    (@paul4mihc)

    Increasing the total number of characters to the phone number from 10 to 14 allows for a number of other variations of phone numbers:

    • 347-321-6509
    • (347) 321-6509
    • 347.321.6509

    Which I feel is just good enough. Unfortunately it leaves open the possibility of human input errors.
    Yes mistakes might happen.

    The best phone number check would be a pattern check for the order of phone numbers:

      + Country Code, space, three numbers (1-9 only), any separater character, three more numbers (1-9 only), another separator character, and finally four more numbers(1-9 only).
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.