View on GitHub

Formulate

An advanced form builder for Umbraco.

What’s New in Formulate 5

Formulate 5.0.0 is a new version for current Umbraco. Formulate 4 was never released.

The Formulate section in the Umbraco back office, showing the Forms, Data Values and Validation Library trees

What Changed

The Submissions view for the Contact Us form, with the CSV export button

Requirements

Formulate 5 needs Umbraco 17.8.2 or later 17.x (17 is the LTS release), Umbraco 18 or the Umbraco 19 release candidate. That is .NET 10 for Umbraco 17 and 18, and .NET 11 for Umbraco 19. See Requirements.

Install it with dotnet add package Umbraco.Community.Formulate. See Installing.

Render a Form in Five Steps

  1. Create a data type using the “Formulate Form Layout Picker” property editor.
  2. Add a property that uses it (for example, alias form) to a document type.
  3. Pick a form layout on the content node.
  4. Render it in your Razor template: @await Component.InvokeAsync("FormulateForm", Model.Value<Formulate.Core.FormLayout>("form")). With Models Builder, use @await Component.InvokeAsync("FormulateForm", Model.Form).
  5. The form renderer is added to the page automatically. To add it yourself, set "Formulate": { "PlainJavaScript": { "IncludeScript": false } } in appsettings.json, and load formulate.min.js with <script type="module">.

More detail is on the Render Form page.

Upgrading from Formulate 3

There is no automatic migration. The full steps, the settings that moved and the list of what is not carried over are in the upgrade guide on GitHub. The main points are: