jquery-validation / jquery-validation

jQuery Validation Plugin library sources

Home Page:https://jqueryvalidation.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input with no name attribute validated as name undefined

hongyan6012 opened this issue · comments

Your environment

  • Version of jquery-validate: 1.19.5
  • Browser name and version: Edge 103.0.1264.77

Current behavior

While validating a form which includes multi inputs with type="number" and no name attribute, the first number input will be validated and others will be not validated.

Expected behavior

All inputs with no name attribute should not be validated.
In the function elements, it shoud return false if name is undefined.

Please follow the issue template and provide a live demo.