Package

ViewHelpers

ViewHelper Documentation

flux:flexform.field.tree

Tree (select supertype) FlexForm field ViewHelper

Arguments

name string

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

label string

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.

default string

Default value for this attribute

required string

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

exclude string

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

transform string

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

enabled string

If FALSE, disables the field in the FlexForm

requestUpdate string

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

displayCond string

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

inherit string

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

inheritEmpty string

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

clear string

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

validate string

FlexForm-type validation configuration for this input

size string

Size of the selector box

multiple string

If TRUE, allows multiple selections

minItems string

Minimum required number of items to be selected

maxItems string

Maxium allowed number of items to be selected

itemListStyle string

Overrides the default list style when maxItems > 1

selectedListStyle string

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

table string

Define foreign table name to turn selector into a record selector for that table

condition string

Condition to use when selecting from "foreignTable", supports FlexForm "foregin_table_where" markers

mm string

Optional name of MM table to use for record selection

foreignField string

The foreign_field is the field of the child record pointing to the parent record. This defines where to store the uid of the parent record.

foreignLabel string

If set, it overrides the label set in TCA[foreign_table]['ctrl']['label'] for the inline-view.

foreignSelector string

A selector is used to show all possible child records that could be used to create a relation with the parent record. It will be rendered as a multi-select-box. On clicking on an item inside the selector a new relation is created. The foreign_selector points to a field of the foreign_table that is responsible for providing a selector-box - this field on the foreign_table usually has the type "select" and also has a "foreign_table" defined.

foreignSortby string

Define a field on the child record (or on the intermediate table) that stores the manual sorting information.

foreignDefaultSortby string

If a fieldname for foreign_sortby is defined, then this is ignored. Otherwise this is used as the "ORDER BY" statement to sort the records in the table when listed.

foreignTableField string

The field of the child record pointing to the parent record. This defines where to store the table name of the parent record. On setting this configuration key together with foreign_field, the child record knows what its parent record is - so the child record could also be used on other parent tables.

foreignUnique string

Field which must be uniue for all children of a parent record.

symmetricField string

In case of bidirectional symmetric relations, this defines in which field on the foreign table the uid of the "other" parent is stored.

symmetricLabel string

If set, this overrides the default label of the selected symmetric_field.

symmetricSortby string

This works like foreign_sortby, but defines the field on foreign_table where the "other" sort order is stored.

localizationMode string

Set whether children can be localizable ('select') or just inherit from default language ('keep').

localizeChildrenAtParentLocalization string

Defines whether children should be localized when the localization of the parent gets created.

disableMovingChildrenWithParent string

Disables that child records get moved along with their parent records.

showThumbs string

If TRUE, adds thumbnail display when editing in BE

parentField string

Field containing UID of parent record

expandAll string

If TRUE, expands all branches

showHeader string

If TRUE, displays tree header

width string

Width of TreeView component

ViewHelper Resources

Schema Resources