[Plugin: Contact Form 7] Text Field for Telephone allows only 8 digits (2 posts)

  1. binotto
    Posted 6 years ago #


    Thanks for a great plug-in. I'm having some trouble though:
    I have a text field for Telephone numbers in my form. For some reason though, my form cannot be sent if there are more than 8 consecutive numbers in the text field. Many European telephone numbers are over 12 digits in length. Is there any way to get around this?

    Many thanks,
    Brett Patching

    WordPress v2.7.1
    contact form 7 v1.9.4

  2. digitz
    Posted 6 years ago #

    Okay, let's say your telephone text field is named "tel". This is how I would go by enabling maximum 12 digits and 12 characters for the text field:

    [text tel 12/12]

    12/12 denotes maximum 12 characters out of a 12 character size.
    This also shrinks your text field to 12 characters max.

    If you don't want it to shrink, use this:

    [text tel 12/]

    [text tel /12] size is 12 characters with no maximum limits for characters.

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic