Added a validator for the add trip form