Cancel the onsubmit event.