WordPress.org

Forums

Contact Form 7
[resolved] tel field rejects UK numbers (3 posts)

  1. chappie
    Member
    Posted 1 year ago #

    The default telephone number field in my form doesn't seem to accept standard UK landline number formats, eg "0118 968 4319" or "01189 684 319" or "01189 684319".

    Do I have to instruct it to accept any groups of numbers, with or without dashes in between them? Or should the default tag be enough?

    Thanks for any help.

    https://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    "0118 968 4319" or "01189 684 319" or "01189 684319"

    A tel field accepts all of those inputs as correct numbers.

  3. chappie
    Member
    Posted 1 year ago #

    Thank you for that. I didn't get an coded alert but my form didn't send and the tel field was "highlighted" - as in the background color had disappeared - so i assumed it was being rejected.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic