forked from rickharrison/validate.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit resolves issue rickharrison#197 might be helpful as a starting point for issue rickharrison#126 Adds a public valididateOne method to the validateForm object which allows you to validate a single field manually. /* Usage */ var valid, field; field = $('[name="name"]).attr('name"); valid = validator.validateOne(field) if(!valid === true){ /* valid === [{name, "name", message="Current error" messages="[Current error, Other errors]"}]
- Loading branch information
Binary Geometry Limited
authored
Jan 29, 2018
1 parent
6b7d381
commit 00eb11b
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters