Rendering Forms
Learn the different ways of rendering a form on your website when using Umbraco Forms.
Rendering Using a View Component
@await Component.InvokeAsync("RenderForm", new { formId = Guid.Parse("<form guid>"), theme = "default", includeScripts = false })var additionalData = new Dictionary<string, string> { { "foo", "bar" }, { "buzz", "baz" } };
@await Component.InvokeAsync("RenderForm", new { formId = @Model.Form, theme = @Model.Theme, includeScripts = false, additionalData })Rendering Using a Tag Helper
Rendering Using a Macro
Last updated
Was this helpful?