HTML5 input validations Working