I added this jquery function to my form.
$('#NewVarianceSubmitButton').click(function () {
$(this).attr("disabled", "disabled")
});
Now, when I click on it the button is disabled but it does not submit the data to the database. If I remove the code above everything submits to the database just fine. Do I need to tell jquery to execute the controller action?
Switch up your process: