mirror of
https://gitlab.silvrtree.co.uk/martind2000/node-validator.git
synced 2025-01-10 20:55:07 +00:00
Added general phone number validator.
This commit is contained in:
parent
78f09a300c
commit
2b46220f00
@ -267,12 +267,10 @@ var VALIDATE = new function() {
|
||||
this.validatePhone = function(params) {
|
||||
"use strict";
|
||||
|
||||
var f = params.f;
|
||||
var uk = params.uk || false;
|
||||
var flag = params.flag;
|
||||
var v = params.number;
|
||||
var required = params.req || false;
|
||||
var itrx, iflag = true;
|
||||
var itrx;
|
||||
|
||||
var onlyDigits = function(inval) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user