[StaticText]

Properties

implementationClassName

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.StaticText.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')
1StaticText:
2  implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
Description

Classname which implements the form element.

properties.text

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.StaticText.properties.text

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

No

Default value (for prototype 'standard')
1StaticText:
2  properties:
3    text: ''
Description

The text to display.

formEditor

Option path

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

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1StaticText:
 2  formEditor:
 3    editors:
 4      100:
 5        identifier: header
 6        templateName: Inspector-FormElementHeaderEditor
 7      200:
 8        identifier: label
 9        templateName: Inspector-TextEditor
10        label: formEditor.elements.ReadOnlyFormElement.editor.label.label
11        propertyPath: label
12      300:
13        identifier: staticText
14        templateName: Inspector-TextareaEditor
15        label: formEditor.elements.StaticText.editor.staticText.label
16        propertyPath: properties.text
17      9999:
18        identifier: removeButton
19        templateName: Inspector-RemoveElementEditor
20    predefinedDefaults:
21      properties:
22        text: ''
23    label: formEditor.elements.StaticText.label
24    group: custom
25    groupSorting: 600
26    iconIdentifier: form-static-text

formEditor.editors.100

Option path

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

Data type

array/ [FormElementHeaderEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.editors.200

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.StaticText.formEditor.editors.200

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    editors:
4      200:
5        identifier: label
6        templateName: Inspector-TextEditor
7        label: formEditor.elements.ReadOnlyFormElement.editor.label.label
8        propertyPath: label

formEditor.editors.300

Option path

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

Data type

array/ [TextareaEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    editors:
4      300:
5        identifier: staticText
6        templateName: Inspector-TextareaEditor
7        label: formEditor.elements.StaticText.editor.staticText.label
8        propertyPath: properties.text

formEditor.editors.9999

Option path

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

Data type

array/ [RemoveElementEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.predefinedDefaults

Option path

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

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    predefinedDefaults:
4      properties:
5        text: ''
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.StaticText.formEditor.label

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    label: formEditor.elements.StaticText.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.StaticText.formEditor.group

Data type

string

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1StaticText:
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.StaticText.formEditor.groupSorting

Data type

int

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    groupSorting: 600
Description

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

formEditor.iconIdentifier

Option path

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

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1StaticText:
2  formEditor:
3    iconIdentifier: form-static-text
Description

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