• Resolved shanekartz

    (@shanekartz)


    I have created a Form and have a Text Field established for capturing a phone number. I want to limit the field to a 10 digit phone number with dashes in this format “000-000-0000”. I have tried every conceivable pattern and nothing seems to work. I keep getting a field verification message that says

    “Character [x] is not supported.”

    regardless of what number I start with. I’ve tested every pattern with an onlin regex tester and they all PASS. So I don’t know what the heck is going on?

    This is the most basic pattern that should work.

    \d{3}[-]\d{3}[-]\d{4}

    • This topic was modified 5 years, 1 month ago by shanekartz.
Viewing 1 replies (of 1 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    As per the WordPress forum policy, we can’t answer premium related questions on this forum. Could you please raise a ticket through our website so that our technical team will be able to help you.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Regex Patterns Not Working’ is closed to new replies.