noinfopath-validation

0.0.9 • Public • Published

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.

Dependencies (3)

Dev Dependencies (19)

Package Sidebar

Install

npm i noinfopath-validation

Weekly Downloads

1

Version

0.0.9

License

MIT

Last publish

Collaborators

  • noinfopath