• Hello.
    I have a form that i have add a “tel” field.
    What i want is to have the visitor add a 10 digit phone number, no more no less digits.

    I have add maxlength:10 and i’m trying to add also minlength:10
    Even though that it doesn’t exceed the 10 digits (so that works fine) when i add less digits,
    i don’t get any error message.

    I have tried with required and without, the same results.
    Also when i type characters i get the error for that.
    Also when i have it as required i get the error for that too..

    Why don’t i get the error for less digits?
    (i ve checked with inspect and it doesn’t show the “span” tag that it shows when the other errors appears.. obviously..but why?)

    [tel your-tel minlength:10 maxlength:10 placeholder "enter your phone number"]

    wp: 4.9.8
    cf7: 5.0.4

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tel minlength bug?’ is closed to new replies.