@model EnVisage.Models.CreateScenarioModel.FinInfoModel @using (Ajax.BeginForm("SubmitCreateScenarioStep3", "Scenarios", new AjaxOptions { HttpMethod = "Post", OnSuccess = "onStep3Success", OnFailure = "onStep3Failure(xhr)", OnBegin = "onStep3Begin", OnComplete = "unblockUI", }, new { @id = "finStepForm", editable_form = "", submit = "void(0)" // hack to prevent xeditable form.$submit which will reset all cost savings to 0s. value doesn't matter, just use any value })) { @Html.HiddenFor(m => m.SerializedModel) @Html.HiddenFor(t => t.IsRevenueGenerating) @Html.AntiForgeryToken() @Html.ValidationSummary(false, "The scenario could not be saved due to the following errors:") }