jaywcjlove / validator.js

:interrobang: Lightweight JavaScript form validation, that had minimal configuration and felt natural to use. No dependencies, support UMD.
https://git.io/validatorjs
551 stars 118 forks source link

Update validator.js #10

Closed dulumao closed 7 years ago

dulumao commented 7 years ago

validator.passes().form.submit();

针对个别form,需要验证,同时也可以跳当前验证直接进入下一步,情况下使用