You can't submit a HTML form without a submit/button if you have more than one field. You can either add a submit input or a button (even hidden), or add some javascript to handle that.