[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       700:
 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       800:
 38         identifier: requiredValidator
 39         templateName: Inspector-RequiredValidatorEditor
 40         label: formEditor.elements.FormElement.editor.requiredValidator.label
 41         validatorIdentifier: NotEmpty
 42         propertyPath: properties.fluidAdditionalAttributes.required
 43         propertyValue: required
 44       900:
 45         identifier: validators
 46         templateName: Inspector-ValidatorsEditor
 47         label: formEditor.elements.TextMixin.editor.validators.label
 48         selectOptions:
 49           10:
 50             value: ''
 51             label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
 52           60:
 53             value: Number
 54             label: formEditor.elements.Number.editor.validators.Number.label
 55           80:
 56             value: NumberRange
 57             label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
 58       9999:
 59         identifier: removeButton
 60         templateName: Inspector-RemoveElementEditor
 61     predefinedDefaults:
 62       defaultValue: ''
 63       properties:
 64         fluidAdditionalAttributes:
 65           step: 1
 66       validators:
 67         -
 68           identifier: Number
 69     propertyCollections:
 70       validators:
 71         60:
 72           identifier: Number
 73           editors:
 74             100:
 75               identifier: header
 76               templateName: Inspector-CollectionElementHeaderEditor
 77               label: formEditor.elements.TextMixin.validators.Number.editor.header.label
 78         70:
 79           identifier: NumberRange
 80           editors:
 81             100:
 82               identifier: header
 83               templateName: Inspector-CollectionElementHeaderEditor
 84               label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label
 85             200:
 86               identifier: minimum
 87               templateName: Inspector-TextEditor
 88               label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
 89               propertyPath: options.minimum
 90               propertyValidators:
 91                 10: Integer
 92               additionalElementPropertyPaths:
 93                 10: properties.fluidAdditionalAttributes.min
 94             300:
 95               identifier: maximum
 96               templateName: Inspector-TextEditor
 97               label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
 98               propertyPath: options.maximum
 99               propertyValidators:
100                 10: Integer
101               additionalElementPropertyPaths:
102                 10: properties.fluidAdditionalAttributes.max
103             9999:
104               identifier: removeButton
105               templateName: Inspector-RemoveElementEditor
106     label: formEditor.elements.Number.label
107     group: html5
108     groupSorting: 400
109     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.700

Option path

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

Data type

array/ [TextEditor]

Needed by

Backend (form editor)

Mandatory

Recommended

Default value (for prototype 'standard')
 1Number:
 2  formEditor:
 3    editors:
 4      700:
 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.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 a 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 a 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