Add onsubmit function to form.