Skip to content

ortizvinicius/formRequiredValidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

formRequiredValidation

Vanilla JavaScript (ES6 - IE9+) polyfill for HTML5 form required validation

Instructions

Just add the .js file in your project.

In the options paremeter you can set the class name that will be added to blank inputs and if the first blank element will be focused:

{
  className: "invalid",
  focusFirstElement: true
}

About

Vanilla JavaScript (ES6 - IE9+) polyfill for HTML5 form required validation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published