[ContentElement]

Properties

implementationClassName

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.implementationClassName

Data type

string

Needed by

Frontend/ Backend (form editor)

Overwritable within form definition

No

form editor can write this property into the form definition (for prototype 'standard')

No

Mandatory

Yes

Default value (for prototype 'standard')
1ContentElement:
2  implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
Description

Classname which implements the form element.

properties.contentElementUid

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.properties.contentElementUid

Data type

string

Needed by

Frontend/ Backend (form editor)

Overwritable within form definition

Yes

form editor can write this property into the form definition (for prototype 'standard')

Yes

Mandatory

Yes

Default value (for prototype 'standard')
1ContentElement:
2  properties:
3    contentElementUid: ''
Description

The uid of the content element which should be rendered.

formEditor

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1ContentElement:
 2  formEditor:
 3    editors:
 4      100:
 5        identifier: header
 6        templateName: Inspector-FormElementHeaderEditor
 7      300:
 8        identifier: contentElement
 9        templateName: Inspector-Typo3WinBrowserEditor
10        label: formEditor.elements.ContentElement.editor.contentElement.label
11        buttonLabel: formEditor.elements.ContentElement.editor.contentElement.buttonLabel
12        browsableType: tt_content
13        propertyPath: properties.contentElementUid
14        propertyValidatorsMode: OR
15        propertyValidators:
16          10: Integer
17          20: FormElementIdentifierWithinCurlyBracesExclusive
18      9999:
19        identifier: removeButton
20        templateName: Inspector-RemoveElementEditor
21    predefinedDefaults:
22      properties:
23        contentElementUid: ''
24    label: formEditor.elements.ContentElement.label
25    group: custom
26    groupSorting: 700
27    iconIdentifier: form-content-element

formEditor.editors.100

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.100

Data type

array/ [FormElementHeaderEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    editors:
4      100:
5        identifier: header
6        templateName: Inspector-FormElementHeaderEditor

formEditor.editors.300

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.300

Data type

array/ [Typo3WinBrowserEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1ContentElement:
 2  formEditor:
 3    editors:
 4      300:
 5        identifier: contentElement
 6        templateName: Inspector-Typo3WinBrowserEditor
 7        label: formEditor.elements.ContentElement.editor.contentElement.label
 8        buttonLabel: formEditor.elements.ContentElement.editor.contentElement.buttonLabel
 9        browsableType: tt_content
10        propertyPath: properties.contentElementUid
11        propertyValidatorsMode: OR
12        propertyValidators:
13          10: Integer
14          20: FormElementIdentifierWithinCurlyBracesExclusive

formEditor.editors.9999

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.editors.9999

Data type

array/ [RemoveElementEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    editors:
4      9999:
5        identifier: removeButton
6        templateName: Inspector-RemoveElementEditor

formEditor.predefinedDefaults

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.predefinedDefaults

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    predefinedDefaults:
4      properties:
5        contentElementUid: ''
Description

Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.

formEditor.label

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.label

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    label: formEditor.elements.ContentElement.label
Good to know
Description

This label will be shown within the "new element" Modal.

formEditor.group

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.group

Data type

string

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    group: custom
Default value

Depends (see concrete element configuration)

Description

Define within which group within the form editor "new Element" modal the form element should be shown. The group value must be equal to an array key within formElementGroups.

formEditor.groupSorting

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.groupSorting

Data type

int

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    groupSorting: 700
Description

The position within the formEditor.group for this form element.

formEditor.iconIdentifier

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.ContentElement.formEditor.iconIdentifier

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1ContentElement:
2  formEditor:
3    iconIdentifier: form-content-element
Description

An icon identifier which must be registered through the \TYPO3\CMS\Core\Imaging\IconRegistry. This icon will be shown within