Attention
TYPO3 v12 has reached end-of-life as of April 30th 2026 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v12 here: TYPO3 ELTS.
Render ViewHelper <formvh:render>
Note
This ViewHelper is not available by default. It is only available if typo3/cms-form is installed and its namespace is imported.
Import its namespace
{namespace formvh=TYPO3\ in the Fluid file or
xmlns: in the opening HTML tag.
Main Entry Point to render a Form into a Fluid Template
Usage
Default:
{namespace formvh=TYPO3\CMS\Form\ViewHelpers}
<formvh:render factoryClass="NameOfYourCustomFactoryClass" />
The factory class must implement
\TYPO3\.
Scope: frontend
Go to the source code of this ViewHelper: RenderViewHelper.php (GitHub).
Arguments
The following arguments are available for the render ViewHelper:
factoryClass
-
- Type
- string
- Default
- 'TYPO3\\CMS\\Form\\Domain\\Factory\\ArrayFormFactory'
The fully qualified class name of the factory
overrideConfiguration
-
- Type
- array
- Default
- array ( )
factory specific configuration
persistenceIdentifier
-
- Type
- string
The persistence identifier for the form.
prototypeName
-
- Type
- string
Name of the prototype to use