noinfopath-validation
v0.0.9
Published
noinfopath validation module
Downloads
2
Readme
noinfopath-validation
validate(el, field)
Params:
- object el - Element.
- object field - Element field.
resetErrors(el, field)
Params:
- object el - Element.
- object field - Element field.
blur(el, field)
Params:
- object el - Element.
- object field - Element field.
noinfopath.validation
Combines the functionality of validation from bootstrap and angular.
noErrors
Will alert the user if errors ocurred in each field.
noSubmit
When user clicks submit, checks to make sure the data is appropriate and returns an error if not.
noReset
When user clicks reset, form is reset to null state.