new validation for time field