parsley.js telephone digits input validating with spaces
问题 I have an input for telephone number. I would like to write this format: 0175 6565 6262 (with spaces). But if write with " " spaces so get error and I write without spaces so get not error. Here my HTML Input: <input type="text" data-parsley-minlength="6" data-parsley-minlength-message="minlength six number" data-parsley-type="digits" data-parsley-type-message="only numbers" class="input_text" value=""> Hope someone can help me? 回答1: That's a great answer, but it's a bit too narrow for my