Rob Schall
03/30/2024, 6:39 PM@(await Component.InvokeAsync("RenderForm", new { formId = Model.Form, theme = Model.Theme, includeScripts = false }))
This does render the form as expected, however, when we submit it, we get the following error:
System.InvalidOperationException: Could not load form with id 00000000-0000-0000-0000-000000000000
at Umbraco.Forms.Web.Controllers.UmbracoFormsController.HandleForm(FormViewModel model)
at lambda_method826(Closure, Object, Object[])
We've also tried the following syntax
<umb-forms-render form-id="@Model.Form.Value" theme="@Model.Theme" exclude-scripts="false" />
This resulted in the same issue (displays fine, but fails on submission with the same error).
When we use the macro inside the richtext editor, it works without issue. I've removed the only custom form workflow we had going to confirm that wasn't affecting anything. Any thoughts what else could cause this?Lewis Heaton
03/30/2024, 7:24 PMRob Schall
03/30/2024, 9:42 PMLewis Heaton
03/30/2024, 9:45 PMRob Schall
03/30/2024, 9:46 PMRob Schall
03/30/2024, 11:53 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by