node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

noinfopath-validation

Build Status coverage

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.