Additional validation vinUS fails to validate valid Vehicle Identification Number (VIN).
wewhite opened this issue · comments
Warren White commented
Your environment
- Version of
jquery-validate
: 1.19.5 - Browser name and version: All
@name $.validator.methods.vinUS
Current behavior
Valid vehicle identification number (VIN) is not validated correctly.
Entering in valid VIN results with vinUS = false;
Expected behavior
Entering in valid VIN should result with vinUS = true;
Live demo
Have pre populated two (2) input fields with valid VIN.
One input field uses validate 1.19.5
Second input field uses validate add code with proposed fix.
https://jsbin.com/dipamonegi/1/edit?html,output
Just click the submit button, different results will show for same VIN entered.