Package

ViewHelpers

ViewHelper Documentation

flux:form

FlexForm configuration container ViewHelper

Arguments

id string, required

Identifier of this Flexible Content Element, [a-z0-9\-] allowed

label string, required

Label for the FlexForm, 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 string, required

Short description of this content element

icon string, required

DEPRECATED: Use `options="{icon: 'iconreference'}"`. Optional icon file to use when displaying this content element in the new content element wizard

mergeValues boolean, required

DEPRECATED AND IGNORED. To cause value merging, simly prefix your field names with the table name, e.g. "tt_content.header" will overwrite the "header" column in the record with the FlexForm field value when saving the record.

enabled boolean, required

If FALSE, makes the FCE inactive

wizardTab string, required

DEPRECATED: Use `options="{group: 'GroupName'}". Optional tab name (usually extension key) in which to place the content element in the new content element wizard

compact boolean, required

If TRUE, disables sheet usage in the form. WARNING! AVOID DYNAMIC VALUES AT ALL COSTS! Toggling this option is DESTRUCTIVE to variables currently saved in the database!

variables anySimpleType, required

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 anySimpleType, required

Custom options to be assigned to Form object - valid values depends on the context. See docs of extension in which you use this feature.

localLanguageFileRelativePath string, required

Relative (from extension) path to locallang file containing labels for the LLL values used in this form.

ViewHelper Resources

Schema Resources