Form Fieldtype

Use this fieldtype to create a relationship with one of your site's forms.

Form Fieldtype UI
The Form Fieldtype in action!


The Form fieldtype is gives your users a way to pick a form to include along with the current entry. How that form is implemented or shows up on the page is up to you.

Data Storage

The Form fieldtype stores the handle of a single form as a string, or an array of handles if max_items is greater than 1.


The Form fieldtype uses augmentation to return a Form instance. You can pass the handle into the form tags.

{{ form:create :in="form_field:handle" }}
{{ fields }}
<div class="p-2">
<label>{{ display }}</label>
<div class="p-1">{{ field }}</div>
{{ if error }}
<p class="text-gray-500">{{ error }}</p>
{{ /if }}
{{ /fields }}
<button type="submit">Submit</button>
{{ /form:create }}




The maximum number of forms that may be selected.



Set the non-selectable placeholder text. Default: none.

HR: Section
Learn More!

Pick a form, any form.


HR: Section
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →