don't allow submit when pressing enter on an input/select element