Uses the HTML5 required and pattern attributes to do validation when the browser does not support these features.