We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58f1e3e + 3878c5e commit f9e6215Copy full SHA for f9e6215
test/qunit.html
@@ -1009,6 +1009,25 @@
1009
runTest(obj, 'ukutr');
1010
});
1011
1012
+ });
1013
+
1014
+ test("UK NIN validation", function(){
1015
1016
+ clearForm();
1017
1018
+ var links = [
1019
+ {val:'JX 49 54 09 A', isValid:true},
1020
+ {val:'LA 22 26 04 B', isValid:true},
1021
+ {val:'LC 34 39 51 C', isValid:true},
1022
+ {val:'JX 49 54 09 Z', isValid:false},
1023
+ {val:'JX 49 54 09 3', isValid:false},
1024
+ {val:'ZZ495409A', isValid:false}
1025
+ ];
1026
1027
+ $.each(links, function(i, obj) {
1028
+ runTest(obj, 'uknin');
1029
1030
1031
1032
// TODO: Write more tests...
1033
0 commit comments