fixed syntax and submit button

the syntax was wrong for the getSelectedTrips() function and the submit
button had a default value, so I fixed both.