handle times formatting errors and required fields within form