Added validation for trip name.