Skip to content

Additional validation vinUS fails to validate valid Vehicle Identification Number (VIN). #2459

Closed
@wewhite

Description

@wewhite

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions