node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

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.