hours validation and error notice