use HTML5 for mandatory fields