- Add
onValidating
callback function #15 - Remove sprintf dependency #12
- Add
onValidated
callback function #13 - Ignore disabled input #14
- Fix addMessage function removing existing message #11
- Code optimization
- Fix first invalid input not focused if no input type
number
#9
- Complete rewrite
- Api changes
- Add destroy method
Improve accessibility by adding:
aria-required
to each required fieldaria-invalid
to each invalid field and- Set unique ID to each error message and reference it by
aria-describedBy
- Set return value to
true
for each return early validation. - remove unused comment.
- Set custom message and class via options
- Add number validation
- Use $.trim() instead of Javascript String trim() to fix IE8 not supporting native trim().
- Validate for blank space value.
- Add email validation.
- Code refactoring.
- Set focus to the first invalid input.
- Add form message after invalid inputs.
- Fix remove class issue.
- Initial release.