N
N
Nikita Shchypylov2016-08-11 14:17:49
JavaScript
Nikita Shchypylov, 2016-08-11 14:17:49

Why do I fill out the form, but the validator still swears?

There is this html:

<div class="input-wrap f_left">
            <input type="text" name="number" class="number" form="dish" placeholder="Телефон">
          </div>


jQuery:
rules: {

      'number': {
        required: true
      }
    }


I will be grateful

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Nagaets, 2016-08-11
@gr1mm3r

+, (, ), - are not numbers. as far as I understood from the screenshot. If you dig further, you need regular arrangements in the front and checks on the back.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question