onSubmit

A function to call when the form is submitted. If you call event.preventDefault() then this form will not do anything.