[Number]

Properties

implementationClassName

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

properties.containerClassAttribute

Option path
TYPO3.CMS.Form.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’)
1
2
3
4
5
Number:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Description
A CSS class which is typically wrapped around the form elements.

properties.elementClassAttribute

Option path
TYPO3.CMS.Form.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’)
1
2
3
4
5
Number:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Description
A CSS class written to the form element.

properties.elementDescription

Option path
TYPO3.CMS.Form.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
TYPO3.CMS.Form.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’)
1
2
3
4
5
Number:
  properties:
    containerClassAttribute: input
    elementClassAttribute: ''
    elementErrorClassAttribute: error
Description
A CSS class which is written to the form element if validation errors exists.

validators

Option path
TYPO3.CMS.Form.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’)
1
2
3
4
Number:
  validators:
    -
      identifier: Number
Description
Predefined validators.

formEditor

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

formEditor.editors.100

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.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
Number:
  formEditor:
    editors:
      100:
        identifier: header
        templateName: Inspector-FormElementHeaderEditor

formEditor.editors.200

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.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
Number:
  formEditor:
    editors:
      200:
        identifier: label
        templateName: Inspector-TextEditor
        label: formEditor.elements.FormElement.editor.label.label
        propertyPath: label

formEditor.editors.230

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.230
Data type
string
Needed by
Frontend/ Backend (form editor)
Mandatory
No
Default value (for prototype ‘standard’)
Undefined

formEditor.editors.400

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.400
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Number:
  formEditor:
    editors:
      400:
        identifier: placeholder
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.placeholder.label
        propertyPath: properties.fluidAdditionalAttributes.placeholder
        compatibilityPropertyPath: properties.placeholder
        doNotSetIfPropertyValueIsEmpty: true

formEditor.editors.500

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.500
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
1
2
3
4
5
6
7
8
Number:
  formEditor:
    editors:
      500:
        identifier: defaultValue
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.defaultValue.label
        propertyPath: defaultValue

formEditor.editors.700

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.700
Data type
array/ [TextEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Number:
  formEditor:
    editors:
      700:
        identifier: step
        templateName: Inspector-TextEditor
        label: formEditor.elements.TextMixin.editor.step.label
        propertyPath: properties.fluidAdditionalAttributes.step
        propertyValidators:
          10: Integer

formEditor.editors.800

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.800
Data type
array/ [RequiredValidatorEditor]
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Number:
  formEditor:
    editors:
      800:
        identifier: requiredValidator
        templateName: Inspector-RequiredValidatorEditor
        label: formEditor.elements.FormElement.editor.requiredValidator.label
        validatorIdentifier: NotEmpty
        propertyPath: properties.fluidAdditionalAttributes.required
        propertyValue: required

formEditor.editors.900

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.editors.900
Data type
array/ [ValidatorsEditor]
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
Number:
  formEditor:
    editors:
      900:
        identifier: validators
        templateName: Inspector-ValidatorsEditor
        label: formEditor.elements.TextMixin.editor.validators.label
        selectOptions:
          10:
            value: ''
            label: formEditor.elements.TextMixin.editor.validators.EmptyValue.label
          60:
            value: Number
            label: formEditor.elements.Number.editor.validators.Number.label
          80:
            value: NumberRange
            label: formEditor.elements.TextMixin.editor.validators.NumberRange.label

formEditor.editors.9999

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.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
Number:
  formEditor:
    editors:
      9999:
        identifier: removeButton
        templateName: Inspector-RemoveElementEditor

formEditor.predefinedDefaults

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.predefinedDefaults
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
Number:
  formEditor:
    predefinedDefaults:
      defaultValue: ''
      properties:
        fluidAdditionalAttributes:
          step: 1
      validators:
        -
          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
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.60
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype ‘standard’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Number:
  formEditor:
    propertyCollections:
      validators:
        60:
          identifier: Number
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.Number.editor.header.label

formEditor.propertyCollections.validators.60.identifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.60.identifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype ‘standard’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Number:
  formEditor:
    propertyCollections:
      validators:
        60:
          identifier: Number
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              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
TYPO3.CMS.Form.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’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Number:
  formEditor:
    propertyCollections:
      validators:
        60:
          identifier: Number
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.Number.editor.header.label

formEditor.propertyCollections.validators.70

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70
Data type
array
Needed by
Backend (form editor)
Mandatory
No
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
27
28
29
30
31
32
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          identifier: NumberRange
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label
            200:
              identifier: minimum
              templateName: Inspector-TextEditor
              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
              propertyPath: options.minimum
              propertyValidators:
                10: Integer
              additionalElementPropertyPaths:
                10: properties.fluidAdditionalAttributes.min
            300:
              identifier: maximum
              templateName: Inspector-TextEditor
              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
              propertyPath: options.maximum
              propertyValidators:
                10: Integer
              additionalElementPropertyPaths:
                10: properties.fluidAdditionalAttributes.max
            9999:
              identifier: removeButton
              templateName: Inspector-RemoveElementEditor

formEditor.propertyCollections.validators.70.identifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.propertyCollections.validators.70.identifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype ‘standard’)
1
2
3
4
5
6
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          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
TYPO3.CMS.Form.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’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          identifier: NumberRange
          editors:
            100:
              identifier: header
              templateName: Inspector-CollectionElementHeaderEditor
              label: formEditor.elements.TextMixin.validators.NumberRange.editor.header.label

formEditor.propertyCollections.validators.70.editors.200

Option path
TYPO3.CMS.Form.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’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          identifier: NumberRange
          editors:
            200:
              identifier: minimum
              templateName: Inspector-TextEditor
              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label
              propertyPath: options.minimum
              propertyValidators:
                10: Integer
              additionalElementPropertyPaths:
                10: properties.fluidAdditionalAttributes.min

formEditor.propertyCollections.validators.70.editors.300

Option path
TYPO3.CMS.Form.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’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          identifier: NumberRange
          editors:
            300:
              identifier: maximum
              templateName: Inspector-TextEditor
              label: formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label
              propertyPath: options.maximum
              propertyValidators:
                10: Integer
              additionalElementPropertyPaths:
                10: properties.fluidAdditionalAttributes.max

formEditor.propertyCollections.validators.70.editors.9999

Option path
TYPO3.CMS.Form.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’)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Number:
  formEditor:
    propertyCollections:
      validators:
        70:
          identifier: NumberRange
          editors:
            9999:
              identifier: removeButton
              templateName: Inspector-RemoveElementEditor

formEditor.label

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype ‘standard’)
1
2
3
Number:
  formEditor:
    label: formEditor.elements.Number.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.Number.formEditor.group
Data type
string
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
1
2
3
Number:
  formEditor:
    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
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.groupSorting
Data type
int
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
1
2
3
Number:
  formEditor:
    groupSorting: 400
Description
The position within the formEditor.group for this form element.

formEditor.iconIdentifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Number.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Recommended
Default value (for prototype ‘standard’)
1
2
3
Number:
  formEditor:
    iconIdentifier: t3-form-icon-number
Description

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