Usage
This section explains how to set up and use EXT:handlebars_forms in a TYPO3 project.
The extension works in two phases:
- Form renderer –
Handlebarsis registered with EXT:form. When a form is rendered on the frontend, EXT:form delegates rendering to this class, which resolves a Handlebars view based on the TypoScript configuration underForm Renderer plugin..tx_ form. handlebars Forms - Data processor – The Handlebars template is expected to call the
process-data processor. This processor walks the EXT:form renderable tree and builds a plain PHP array from it usingform HBS_*content objects. The resulting array is passed to the Handlebars template as its context.