• Resolved bluenova

    (@bluenova)


    I’ve tried to replace the text field for a phone number with the new tel field but when trying it out I just get an error message ‘Telephone number seems invalid’

    I’m using a standard UK number which is in the format NNNNN NNNNNN.

    The options for size and length were left blank.

    I tried again without the space and it was ok but in the UK it is normal to have a space between the area code and number.

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    The current version (3.4) doesn’t accept space characters in the tel number field. I’m thinking of changing it in the next release. For the meantime, use this method:

    http://wordpress.org/support/topic/tel-number-field-error

    barkeyo

    (@barkeyo)

    Alternatively, you could set the field as text field by using the text tag. This means the field input doesn’t get validated, and you will simply be passed whatever was input, but it therefore doesn’t require you to modify your theme’s functions.php or your theme’s style.css to allow it to function correctly for the UK and look the same as other text or text area fields you may be using.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Telephone number seems invalid’ is closed to new replies.