I am using Chrome where pressing enter automatically submits a form.
I have two forms on different pages, and neither has a submit INPUT/BUTTON. Both forms have similar (text) inputs in them.
FORM 1 automatically submits its data when pressing enter. FORM 2 on the other hand doesn't. I have to find out why this happens. Is there a way to find out what submit handlers are there attached to the two forms?
myForm.get(0).onsubmit
(using jQuery) returns null
in both cases.
Or is there another way to debug this issue? (Chrome DevTools, etc)