.. include:: /Includes.rst.txt .. _fluidtypo3-flux-field: ===== field ===== FlexForm field ViewHelper Defines a single field data structure. Arguments ========= .. _field_type: type ---- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` TCA field type .. _field_name: name ---- :aspect:`DataType` string :aspect:`Required` true :aspect:`Description` Name of the attribute, FlexForm XML-valid tag name string .. _field_label: label ----- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Label for field .. _field_description: description ----------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Field description .. _field_exclude: exclude ------- :aspect:`DataType` mixed :aspect:`Required` false :aspect:`Description` Set to FALSE if field is not an "exclude" field .. _field_config: config ------ :aspect:`DataType` mixed :aspect:`Default` array () :aspect:`Required` false :aspect:`Description` TCA "config" array .. _field_transform: transform --------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Set this to transform your value to this type - integer, array (for csv values), float, DateTime, Vendor\MyExt\Domain\Model\Object or ObjectStorage with type hint. .. _field_onchange: onChange -------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` TCA onChange instruction .. _field_displaycond: displayCond ----------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` Optional "Display Condition" (TCA style) for this particular field. See: https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Index.html#displaycond .. _field_inherit: inherit ------- :aspect:`DataType` boolean :aspect:`Default` true :aspect:`Required` false :aspect:`Description` If TRUE, the value for this particular field is inherited - if inheritance is enabled by the ConfigurationProvider .. _field_inheritempty: inheritEmpty ------------ :aspect:`DataType` boolean :aspect:`Default` true :aspect:`Required` false :aspect:`Description` If TRUE, allows empty values (specifically excluding the number zero!) to be inherited - if inheritance is enabled by the ConfigurationProvider .. _field_clear: clear ----- :aspect:`DataType` boolean :aspect:`Required` false :aspect:`Description` 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 .. _field_extensionname: extensionName ------------- :aspect:`DataType` string :aspect:`Required` false :aspect:`Description` If provided, enables overriding the extension context for this and all child nodes. The extension name is otherwise automatically detected from rendering context.