[Number]

Properties

implementationClassName

Option path

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

Classname which implements the form element.

properties.containerClassAttribute

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.properties.containerClassAttribute

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')

No

Mandatory

No

Default value (for prototype 'standard')
1Number:
2  properties:
3    containerClassAttribute: input
4    elementClassAttribute: ''
5    elementErrorClassAttribute: error
Description

A CSS class which is typically wrapped around the form elements.

properties.elementClassAttribute

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.properties.elementClassAttribute

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')

No

Mandatory

No

Default value (for prototype 'standard')
1Number:
2  properties:
3    containerClassAttribute: input
4    elementClassAttribute: ''
5    elementErrorClassAttribute: error
Description

A CSS class written to the form element.

properties.elementDescription

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.properties.elementDescription

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')

Undefined

Good to know
Description

Set a description of the form element. By default, it is displayed below the form element.

properties.elementErrorClassAttribute

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.properties.elementErrorClassAttribute

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')

No

Mandatory

No

Default value (for prototype 'standard')
1Number:
2  properties:
3    containerClassAttribute: input
4    elementClassAttribute: ''
5    elementErrorClassAttribute: error
Description

A CSS class which is written to the form element if validation errors exists.

validators

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.validators

Data type

array

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')
1Number:
2  validators:
3    -
4      identifier: Number
Description

Predefined validators.

formEditor

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
  1 Number:
  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.FormElement.editor.label.label
 11         propertyPath: label
 12       230:
 13         identifier: elementDescription
 14         templateName: Inspector-TextEditor
 15         label: formEditor.elements.FormElement.editor.elementDescription.label
 16         propertyPath: properties.elementDescription
 17       400:
 18         identifier: placeholder
 19         templateName: Inspector-TextEditor
 20         label: formEditor.elements.TextMixin.editor.placeholder.label
 21         propertyPath: properties.fluidAdditionalAttributes.placeholder
 22         doNotSetIfPropertyValueIsEmpty: true
 23       500:
 24         identifier: defaultValue
 25         templateName: Inspector-TextEditor
 26         label: formEditor.elements.TextMixin.editor.defaultValue.label
 27         propertyPath: defaultValue
 28         propertyValidators:
 29           10: IntegerOrEmpty
 30       550:
 31         identifier: step
 32         templateName: Inspector-TextEditor
 33         label: formEditor.elements.TextMixin.editor.step.label
 34         propertyPath: properties.fluidAdditionalAttributes.step
 35         propertyValidators:
 36           10: Integer
 37       700:
 38         identifier: gridColumnViewPortConfiguration
 39         templateName: Inspector-GridColumnViewPortConfigurationEditor
 40         label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
 41         configurationOptions:
 42           viewPorts:
 43             10:
 44               viewPortIdentifier: xs
 45               label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
 46             20:
 47               viewPortIdentifier: sm
 48               label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
 49             30:
 50               viewPortIdentifier: md
 51               label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
 52             40:
 53               viewPortIdentifier: lg
 54               label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
 55           numbersOfColumnsToUse:
 56             label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
 57             propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
 58             fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
 59       800:
 60         identifier: requiredValidator
 61         templateName: Inspector-RequiredValidatorEditor
 62         label: formEditor.elements.FormElement.editor.requiredValidator.label
 63         validatorIdentifier: NotEmpty
 64         propertyPath: properties.fluidAdditionalAttributes.required
 65         propertyValue: required
 66       900:
 67         identifier: validators
 68         templateName: Inspector-ValidatorsEditor
 69         label: formEditor.elements.TextMixin.editor.validators.label
 70         selectOptions:
 71           10:
 72             value: ''
 73             label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
 74           60:
 75             value: Number
 76             label: formEditor.elements.Number.editor.validators.Number.label
 77           80:
 78             value: NumberRange
 79             label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
 80       9999:
 81         identifier: removeButton
 82         templateName: Inspector-RemoveElementEditor
 83     predefinedDefaults:
 84       defaultValue: ''
 85       properties:
 86         fluidAdditionalAttributes:
 87           step: 1
 88       validators:
 89         -
 90           identifier: Number
 91     propertyCollections:
 92       validators:
 93         60:
 94           identifier: Number
 95           editors:
 96             100:
 97               identifier: header
 98               templateName: Inspector-CollectionElementHeaderEditor
 99               label: formEditor.elements.TextMixin.validators.Number.editor.header.label
100         70:
101           identifier: NumberRange
102           editors:
103             100:
104               identifier: header
105               templateName: Inspector-CollectionElementHeaderEditor
106               label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label
107             200:
108               identifier: minimum
109               templateName: Inspector-TextEditor
110               label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
111               propertyPath: options.minimum
112               propertyValidators:
113                 10: Integer
114               additionalElementPropertyPaths:
115                 10: properties.fluidAdditionalAttributes.min
116             300:
117               identifier: maximum
118               templateName: Inspector-TextEditor
119               label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
120               propertyPath: options.maximum
121               propertyValidators:
122                 10: Integer
123               additionalElementPropertyPaths:
124                 10: properties.fluidAdditionalAttributes.max
125             9999:
126               identifier: removeButton
127               templateName: Inspector-RemoveElementEditor
128     label: formEditor.elements.Number.label
129     group: html5
130     groupSorting: 400
131     iconIdentifier: form-number

formEditor.editors.100

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.100

Data type

array/ [FormElementHeaderEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.editors.200

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.200

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.editors.230

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.230

Data type

array/ [TextEditor]

Needed by

Frontend/ Backend (form editor)

Mandatory

No

Default value (for prototype 'standard')
1Date:
2  formEditor:
3    editors:
4      230:
5        identifier: elementDescription
6        templateName: Inspector-TextEditor
7        label: formEditor.elements.FormElement.editor.elementDescription.label
8        propertyPath: properties.elementDescription

formEditor.editors.400

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.400

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      400:
 5        identifier: placeholder
 6        templateName: Inspector-TextEditor
 7        label: formEditor.elements.TextMixin.editor.placeholder.label
 8        propertyPath: properties.fluidAdditionalAttributes.placeholder
 9        compatibilityPropertyPath: properties.placeholder
10        doNotSetIfPropertyValueIsEmpty: true

formEditor.editors.500

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.500

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.editors.550

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.550

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      550:
 5        identifier: step
 6        templateName: Inspector-TextEditor
 7        label: formEditor.elements.TextMixin.editor.step.label
 8        propertyPath: properties.fluidAdditionalAttributes.step
 9        propertyValidators:
10          10: Integer

formEditor.editors.700

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.700

Data type

array/ [GridColumnViewPortConfigurationEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      700:
 5        identifier: gridColumnViewPortConfiguration
 6        templateName: Inspector-GridColumnViewPortConfigurationEditor
 7        label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label
 8        configurationOptions:
 9          viewPorts:
10            10:
11              viewPortIdentifier: xs
12              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label
13            20:
14              viewPortIdentifier: sm
15              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label
16            30:
17              viewPortIdentifier: md
18              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label
19            40:
20              viewPortIdentifier: lg
21              label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label
22          numbersOfColumnsToUse:
23            label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label
24            propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse'
25            fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText

formEditor.editors.800

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.800

Data type

array/ [RequiredValidatorEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      800:
 5        identifier: requiredValidator
 6        templateName: Inspector-RequiredValidatorEditor
 7        label: formEditor.elements.FormElement.editor.requiredValidator.label
 8        validatorIdentifier: NotEmpty
 9        propertyPath: properties.fluidAdditionalAttributes.required
10        propertyValue: required

formEditor.editors.900

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.900

Data type

array/ [ValidatorsEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      900:
 5        identifier: validators
 6        templateName: Inspector-ValidatorsEditor
 7        label: formEditor.elements.TextMixin.editor.validators.label
 8        selectOptions:
 9          10:
10            value: ''
11            label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
12          60:
13            value: Number
14            label: formEditor.elements.Number.editor.validators.Number.label
15          80:
16            value: NumberRange
17            label: formEditor.elements.TextMixin.editor.validators.NumberRange.label

formEditor.editors.9999

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.9999

Data type

array/ [RemoveElementEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

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

formEditor.predefinedDefaults

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.predefinedDefaults

Data type

array

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    predefinedDefaults:
 4      defaultValue: ''
 5      properties:
 6        fluidAdditionalAttributes:
 7          step: 1
 8      validators:
 9        -
10          identifier: Number
Description

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

formEditor.propertyCollections.validators.60

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.60

Data type

array

Needed by

Backend (form editor)

Mandatory

No

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        60:
 6          identifier: Number
 7          editors:
 8            100:
 9              identifier: header
10              templateName: Inspector-CollectionElementHeaderEditor
11              label: formEditor.elements.TextMixin.validators.Number.editor.header.label

formEditor.propertyCollections.validators.60.identifier

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.60.identifier

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        60:
 6          identifier: Number
 7          editors:
 8            100:
 9              identifier: header
10              templateName: Inspector-CollectionElementHeaderEditor
11              label: formEditor.elements.TextMixin.validators.Number.editor.header.label
Good to know
Description

Identifies the validator which should be attached to the form element. Must be equal to an existing <validatorIdentifier>.

formEditor.propertyCollections.validators.60.editors.100

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.60.editors.100

Data type

array/ [CollectionElementHeaderEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        60:
 6          identifier: Number
 7          editors:
 8            100:
 9              identifier: header
10              templateName: Inspector-CollectionElementHeaderEditor
11              label: formEditor.elements.TextMixin.validators.Number.editor.header.label

formEditor.propertyCollections.validators.70

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70

Data type

array

Needed by

Backend (form editor)

Mandatory

No

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        70:
 6          identifier: NumberRange
 7          editors:
 8            100:
 9              identifier: header
10              templateName: Inspector-CollectionElementHeaderEditor
11              label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label
12            200:
13              identifier: minimum
14              templateName: Inspector-TextEditor
15              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
16              propertyPath: options.minimum
17              propertyValidators:
18                10: Integer
19              additionalElementPropertyPaths:
20                10: properties.fluidAdditionalAttributes.min
21            300:
22              identifier: maximum
23              templateName: Inspector-TextEditor
24              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
25              propertyPath: options.maximum
26              propertyValidators:
27                10: Integer
28              additionalElementPropertyPaths:
29                10: properties.fluidAdditionalAttributes.max
30            9999:
31              identifier: removeButton
32              templateName: Inspector-RemoveElementEditor

formEditor.propertyCollections.validators.70.identifier

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.identifier

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1Number:
2  formEditor:
3    propertyCollections:
4      validators:
5        70:
6          identifier: NumberRange
Good to know
Description

Identifies the validator which should be attached to the form element. Must be equal to an existing <validatorIdentifier>.

formEditor.propertyCollections.validators.70.editors.100

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.editors.100

Data type

array/ [CollectionElementHeaderEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        70:
 6          identifier: NumberRange
 7          editors:
 8            100:
 9              identifier: header
10              templateName: Inspector-CollectionElementHeaderEditor
11              label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label

formEditor.propertyCollections.validators.70.editors.200

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.editors.200

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        70:
 6          identifier: NumberRange
 7          editors:
 8            200:
 9              identifier: minimum
10              templateName: Inspector-TextEditor
11              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
12              propertyPath: options.minimum
13              propertyValidators:
14                10: Integer
15              additionalElementPropertyPaths:
16                10: properties.fluidAdditionalAttributes.min

formEditor.propertyCollections.validators.70.editors.300

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.editors.300

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        70:
 6          identifier: NumberRange
 7          editors:
 8            300:
 9              identifier: maximum
10              templateName: Inspector-TextEditor
11              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
12              propertyPath: options.maximum
13              propertyValidators:
14                10: Integer
15              additionalElementPropertyPaths:
16                10: properties.fluidAdditionalAttributes.max

formEditor.propertyCollections.validators.70.editors.9999

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.editors.9999

Data type

array/ [RemoveElementEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    propertyCollections:
 4      validators:
 5        70:
 6          identifier: NumberRange
 7          editors:
 8            9999:
 9              identifier: removeButton
10              templateName: Inspector-RemoveElementEditor

formEditor.label

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.label

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

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

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

formEditor.group

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.group

Data type

string

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1Number:
2  formEditor:
3    group: html5
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

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.groupSorting

Data type

int

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1Number:
2  formEditor:
3    groupSorting: 400
Description

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

formEditor.iconIdentifier

Option path

prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.iconIdentifier

Data type

string

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
1Number:
2  formEditor:
3    iconIdentifier: form-number
Description

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