form¶
FlexForm configuration container ViewHelper
Arguments¶
id¶
- DataType
string
- Required
true
- Description
Identifier of this Flexible Content Element,
/[a-z0-9]/i
allowed.
label¶
- DataType
string
- Required
false
- Description
Label for the form, can be LLL: value. Optional - if not specified, Flux tries to detect an LLL label named "flux.fluxFormId", in scope of extension rendering the Flux form.
description¶
- DataType
string
- Required
false
- Description
Short description of the purpose/function of this form
enabled¶
- DataType
boolean
- Default
true
- Required
false
- Description
If FALSE, features which use this form can elect to skip it. Respect for this flag depends on the feature using the form.
variables¶
- DataType
mixed
- Default
array ()
- Required
false
- Description
Freestyle variables which become assigned to the resulting Component - can then be read from that Component outside this Fluid template and in other templates using the Form object from this template
options¶
- DataType
mixed
- Required
false
- Description
Custom options to be assigned to Form object - valid values depends on the. See docs of extension in which you use this feature. Can also be set using
flux:form.option
as child offlux:form
.
localLanguageFileRelativePath¶
- DataType
string
- Default
'/Resources/Private/Language/locallang.xlf'
- Required
false
- Description
Relative (from extension) path to locallang file containing labels for the LLL values used in this form.
extensionName¶
- DataType
string
- Required
false
- Description
If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.