form.object

FlexForm field section object ViewHelper

Use this inside flux:form.section to name and divide the fields into individual objects that can be inserted into the section.

Arguments

name

DataType

string

Required

true

Description

Name of the section object, FlexForm XML-valid tag name string

label

DataType

string

Required

false

Description

Label for section object, can be LLL: value. Optional - if not specified, Flux tries to detect an LLL label named "flux.fluxFormId.objects.foobar" based on object name, in scope of extension rendering the Flux 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

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.

inherit

DataType

boolean

Required

false

Description

If TRUE, the value for this particular field is inherited - if inheritance is enabled by the ConfigurationProvider

inheritEmpty

DataType

boolean

Required

false

Description

If TRUE, allows empty values (specifically excluding the number zero!) to be inherited - if inheritance is enabled by the ConfigurationProvider

transform

DataType

string

Required

false

Description

Set this to transform your value to this type - integer, array (for csv values), float, DateTime, VendorMyExtDomainModelObject or ObjectStorage with type hint.

contentContainer

DataType

boolean

Required

false

Description

If TRUE, each object that is created of this type results in a content column of the same name, with an automatic colPos value.