Implemented html5 based form validations