[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')
1
2
StaticText:
  implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement
Description
Classname which implements the form element.

renderingOptions._isReadOnlyFormElement

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.StaticText.renderingOptions._isReadOnlyFormElement
Data type
bool
Needed by
Frontend
Overwritable within form definition
Yes
form editor can write this property into the form definition (for prototype 'standard')
No
Mandatory
No
Default value (for prototype 'standard')
1
2
3
StaticText:
  renderingOptions:
    _isReadOnlyFormElement: true
Description
Internal control setting to define that the form element is not visible within the summary page and emails.

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

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