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.
1 parent 58f1e3e commit 3878c5eCopy full SHA for 3878c5e
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