add error div for invalid time values entered