Use HTML5 required attribute