[NumberRange]

Validation error codes

  • Error code: 1221563685
  • Error message: The given subject was not a valid number.
  • Error code: 1221561046
  • Error message: The given subject was not in the valid range (%s - %s).

Properties

implementationClassName

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.implementationClassName
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
NumberRange:
  implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator
Copied!
Good to know
Description

Classname which implements the validator.

options.minimum

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.options.minimum
Data type
int
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
undefined
Description
The minimum value to accept.

options.maximum

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.options.maximum
Data type
int
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
undefined
Description
The maximum value to accept.

formEditor.iconIdentifier

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
NumberRange:
  formEditor:
    iconIdentifier: form-validator
    label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
Copied!
Description

An icon identifier which must be registered through the \TYPO3\CMS\Core\Imaging\IconRegistry. This icon will be shown within the - "Inspector [CollectionElementHeaderEditor]" if the validator is selected.

formEditor.label

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
NumberRange:
  formEditor:
    iconIdentifier: form-validator
    label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
Copied!
Good to know
Description

This label will be shown within the - "Inspector [CollectionElementHeaderEditor]" if the validator is selected.

formEditor.predefinedDefaults

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype 'standard')
NumberRange:
  formEditor:
    predefinedDefaults:
      options:
        minimum: ''
        maximum: ''
Copied!
Description

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