[RegularExpression]

Validation error codes

  • Error code: 1221565130
  • Error message: The given subject did not match the pattern.

Properties

implementationClassName

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

Classname which implements the validator.

options.regularExpression

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.options.regularExpression
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
undefined
Description
The regular expression to use for validation, used as given.

formEditor.iconIdentifier

Option path
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
RegularExpression:
  formEditor:
    iconIdentifier: form-validator
    label: formEditor.elements.TextMixin.editor.validators.RegularExpression.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.RegularExpression.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
RegularExpression:
  formEditor:
    iconIdentifier: form-validator
    label: formEditor.elements.TextMixin.editor.validators.RegularExpression.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.RegularExpression.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype 'standard')
RegularExpression:
  formEditor:
    predefinedDefaults:
      options:
        regularExpression: ''
Copied!
Description

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