WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. chappie
    Member
    Posted 3 months 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 3 months 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 3 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic