This event is fired when the form is submitted. This is only works with the form element of the HTML.