[RegularExpression]

Validation error codes

  • Error code: 1221565130

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

Properties

implementationClassName

Option path

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.implementationClassName

Data type

string

Needed by

Frontend

Mandatory

Yes

Default value (for prototype 'standard')
1RegularExpression:
2  implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\RegularExpressionValidator
Good to know
Description

Classname which implements the validator.

options.regularExpression

Option path

TYPO3.CMS.Form.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

TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.formEditor.iconIdentifier

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1RegularExpression:
2  formEditor:
3    iconIdentifier: form-validator
4    label: formEditor.elements.TextMixin.editor.validators.RegularExpression.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.RegularExpression.formEditor.label

Data type

string

Needed by

Backend (form editor)

Mandatory

Yes

Default value (for prototype 'standard')
1RegularExpression:
2  formEditor:
3    iconIdentifier: form-validator
4    label: formEditor.elements.TextMixin.editor.validators.RegularExpression.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.RegularExpression.formEditor.predefinedDefaults

Data type

array

Needed by

Backend (form editor)

Mandatory

No

Default value (for prototype 'standard')
1RegularExpression:
2  formEditor:
3    predefinedDefaults:
4      options:
5        regularExpression: ''
Description

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