Vanilla JavaScript (ES6 - IE9+) polyfill for HTML5 form required validation
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
}