[StringLength]

validation error codes

  • 1238110957
  • 1269883975
  • 1428504122
  • 1238108068
  • 1238108069

Properties

implementationClassName

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.implementationClassName
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype ‘standard’)
1
2
StringLength:
  implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator
Good to know
Description
Classname which implements the validator.

options.minimum

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.options.minimum
Data type
int
Needed by
Frontend
Mandatory
Yes
Default value (for prototype ‘standard’)
undefined
Description
The minimum value to accep.

options.maximum

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.options.maximum
Data type
int
Needed by
Frontend
Mandatory
Yes
Default value (for prototype ‘standard’)
undefined
Description
The maximum value to accep.

formeditor.iconIdentifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype ‘standard’)
1
2
3
4
StringLength:
  formEditor:
    iconIdentifier: t3-form-icon-validator
    label: formEditor.elements.TextMixin.editor.validators.StringLength.label
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
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype ‘standard’)
1
2
3
4
StringLength:
  formEditor:
    iconIdentifier: t3-form-icon-validator
    label: formEditor.elements.TextMixin.editor.validators.StringLength.label
Good to know
Description
This label will be shown within the - “Inspector [CollectionElementHeaderEditor]” if the validator is selected.

formeditor.predefinedDefaults

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype ‘standard’)
1
2
3
4
5
6
StringLength:
  formEditor:
    predefinedDefaults:
      options:
        minimum: ''
        maximum: ''
Description
Defines predefined defaults for validator options which are prefilled, if the validator is added to a form element.