Documentation · ViewHelper reference

Flexform / Field / GroupViewHelper

Group (select supertype) FlexForm field ViewHelper

  • Tag usage example

    <flux:flexform.field.group name="foo" label="foo" default="foo" required="foo" exclude="foo" transform="foo" enabled="foo" requestUpdate="foo" displayCond="foo" inherit="foo" inheritEmpty="foo" clear="foo" validate="foo" size="foo" multiple="foo" minItems="foo" maxItems="foo" itemListStyle="foo" selectedListStyle="foo" items="foo" internalType="foo" allowed="foo" uploadFolder="foo">
    	<!-- tag content - may be ignored! -->
    </flux:flexform.field.group>
  • Inline usage example

    {flux:flexform.field.group(name: 'foo', label: 'foo', default: 'foo', required: 'foo', exclude: 'foo', transform: 'foo', enabled: 'foo', requestUpdate: 'foo', displayCond: 'foo', inherit: 'foo', inheritEmpty: 'foo', clear: 'foo', validate: 'foo', size: 'foo', multiple: 'foo', minItems: 'foo', maxItems: 'foo', itemListStyle: 'foo', selectedListStyle: 'foo', items: 'foo', internalType: 'foo', allowed: 'foo', uploadFolder: 'foo')}

Arguments

Argument Description Type
allowed

FlexForm-style "allowed" content for a group type field

string
clear

If TRUE, a "clear value" checkbox is displayed next to the field which when checked, completely destroys the current field value all the way down to the stored XML value

string
default

Default value for this attribute

string
displayCond

Optional "Display Condition" (TCA style) for this particular field

string
enabled

If FALSE, disables the field in the FlexForm

string
exclude

If TRUE, this field becomes an "exclude field" (see TYPO3 documentation about this)

string
inherit

If 0 (zero), prevents inheritance of the value for this particular field - if inheritance is enabled by the ConfigurationProvider

string
inheritEmpty

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

string
internalType

FlexForm-internalType of this Group Selector

string
itemListStyle

Overrides the default list style when maxItems > 1

string
items

Items for the selector; array / CSV / Traversable / Query supported

string
label

Label for the attribute, can be LLL: value. Optional - if not specified, Flux tries to detect an LLL label named "flux.fluxFormId.fields.foobar" based on field name, in scope of extension rendering the Flux form. If field is in an object, use "flux.fluxFormId.objects.objectname.foobar" where "foobar" is the name of the field.

string
maxItems

Maxium allowed number of items to be selected

string
minItems

Minimum required number of items to be selected

string
multiple

If TRUE, allows multiple selections

string
name

Name of the attribute, FlexForm XML-valid tag name string

string
requestUpdate

If TRUE, the form is force-saved and reloaded when field value changes

string
required

If TRUE, this attribute must be filled when editing the FCE

string
selectedListStyle

Overrides the default selected list style when maxItems > 1 and renderMode is default

string
size

Size of the selector box

string
transform

Set this to transform your value to this type - integer, array (for csv values), float, DateTime, TxMyExtDomainModelObject or ObjectStorage with type hint. Also supported are FED Resource classes.

string
uploadFolder

Upload folder. DEPRECATED, will be moved to the File field ViewHelper

string
validate

FlexForm-type validation configuration for this input

string
Required attribute

Revision history