Field types (config > type)
The field types get defined in the TCA of a field in ['config'].
The field type influences the rendering of the form field in the backend. It
also influences the processing of data on saving the values. Those behaviour can
be influenced by further properties.
Section ['columns'] (where * stands for a table column) is the main workhorse when it comes to single field configuration.
The main property is type, it specifies the DataHandler processing and database value. Additionally,
property render specifies how a field is rendered. The renderType is sometimes optional. Both properties
together specify the set of properties that are valid for one field.
This section of the documentation is first split by type to give an overview of what can be done with a type, then lists all possible renderType's with all possible properties. Since some type's can do useful stuff without a specific renderType too, those properties are listed below renderType "default", which equals to "not set".
An overview of available types:
- check
-
A single checkbox with a label
The weekdays of a location, Monday to Friday checked by default
A toggle with the labels Open and Closed
A toggle
- flex
- Form elements stored in an XML structure in one field.
- group
-
Relations to other table rows or files.
The speaker of a talk
- imageManipulation
- Json array with cut / cropping information. Special field for images in FAL / Resource handling.
- inline
-
Relations to other table rows that can be edited in the same form. Also used for file resources via
sys_table.file_ reference
The talks of a conference
- input
-
Single line text input. Used for a various different single line outputs like head lines, links, color pickers.
The title of a conference
A short title with the title as placeholder
A room with value picker
- none
-
Read only, virtual field. No DataHandler processing.
The time a comment was written
- passthrough
- Not displayed, only send as hidden field to DataHandler.
- radio
-
One or multiple radio buttons.
The level of a talk
- select
-
Select one or more items from a list.
The location of a conference, with the images of the locations
The equipment of a talk
The audience of a talk
The location a hall is part of
- slug
- Define parts of a URL path
- text
-
A multiline text field. Used for RTE display, code editor and some more.
The abstract of a talk
A rich text field
- user
- Special rendering and evaluation defined by an additional node in the form engine