validate all fieds of the html form