diff --git a/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml b/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml index e76d43067..ff5b1876f 100644 --- a/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml +++ b/src/Orchard.Web/Modules/Orchard.CustomForms/Views/Parts.CustomForm.Wrapper.cshtml @@ -14,7 +14,7 @@ // Model is a Shape, calling Display() so that it is rendered using the most specific template for its Shape type @Display(editor) - @Html.Hidden("returnUrl", Request.RawUrl); + @Html.Hidden("returnUrl", Request.RawUrl, new { id = string.Empty });