My current validator for accepting integer is
$( "#UserForm" ).validate({
rules: {
contact: {
required: true,
number: true,
minlength: 6,
}
}
});
It works fine
But now i want to make change in it so as to accept spaces also.
What should be my code?Please help i'm beginner in jquery