Use form submit event instead of click on submit button to trigger submission