Compare commits

...

2 commits

View file

@ -1,5 +1,5 @@
$.extend($.idealforms.rules, {
fingerprint : /^([ABCDEF0-9]{4}\ ){9}[ABCDEF0-9]{4}$/,
fingerprint : /^([ABCDEF0-9]{4}\ ){5}(\ )?([ABCDEF0-9]{4}\ ){4}[ABCDEF0-9]{4}$/,
multiple2 : function(input, value) {
return Number(value) % 2 == 0;
},
@ -20,7 +20,7 @@ $.extend($.idealforms.rules, {
});
$.extend($.idealforms.errors,{
fingerprint : 'Must be a valid gpg fingerprint (es. AB98-AF02-852A-24EA-A298-AF02-852A-23CA-AB98-AA02)',
fingerprint : 'Must be a valid gpg fingerprint (es. AB98 AF02 852A 24EA A298 AF02 852A 23CA AB98 AA02 or gpg -K --fingerprint format)',
multiple2 : 'Must be a multiple of 2',
emails : 'Must be a valid email(s) comma separated',
});
});