.. include:: /Includes.rst.txt
.. _fluidtypo3-flux-form-content:
============
form.content
============
Adds a content area to a source using Flux FlexForms
Only works to insert a single content area into your element.
To insert multiple content areas, use instead a full `flux:grid`
with your desired row and column structure; each column then
becomes a content area.
Using `flux:grid` after this ViewHelper in the same `flux:form`
will overwrite this ViewHelper.
Using this ViewHelper after `flux:grid` will cause this ViewHelper
to be ignored.
Example of difference
=====================
Arguments
=========
.. _form.content_name:
name
----
:aspect:`DataType`
string
:aspect:`Required`
true
:aspect:`Description`
Name of the content area, FlexForm XML-valid tag name string
.. _form.content_label:
label
-----
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
Label for content area, can be LLL: value. Optional - if not specified, Flux tries to detect an LLL label named "flux.fluxFormId.columns.foobar" based on column name, in scope of extension rendering the Flux form.
.. _form.content_extensionname:
extensionName
-------------
:aspect:`DataType`
string
:aspect:`Required`
false
:aspect:`Description`
If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.