September 7, 2016 at 1:32 pm #6370
In above website i am using contact form 7 and for validation using Jquery Validation for Contact Form 7 plugin.
I am using validation method= ‘class:number’ for telephone number field validation.
Now,when i enter the number in the field, error will be displayed ‘please enter number only’. Because validation take hypen(-) also one of the character.(Hypen will be auto generate by code)
Is, there any possible to avoid that.That means character not accept in that field and avoid hypen on validation(that means accept hypen)September 7, 2016 at 1:33 pm #6371
kumaresanSeptember 9, 2016 at 12:11 pm #6377
Any chance you can try using USPhone for validation ?
The topic ‘Avoid hypen on validation’ is closed to new replies.