Form Fieldtype
Use this fieldtype to create a relationship with one of your site's forms.
Overview
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.
Templating
The Form fieldtype provides a few useful variables:
handletitlefieldsapi_urlhoneypot
You can use the form:create tag to render a <form> on your page.
Options
max_items
The maximum number of forms that may be selected.
placeholder
Set the non-selectable placeholder text. Default: none.
query_scopes
Allows you to specify a query scope which should be applied when retrieving selectable assets. You should specify the query scope's handle, which is usually the name of the class in snake case. For example: MyAwesomeScope would be my_awesome_scope.
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page