TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,297 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition:
|
||||
|
||||
======================
|
||||
[validatorsDefinition]
|
||||
======================
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition-properties-validatorsdefinition:
|
||||
|
||||
[validatorsDefinition]
|
||||
----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend/ Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
|
||||
prototypes:
|
||||
<prototypeIdentifier>:
|
||||
validatorsDefinition:
|
||||
[...]
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
Array which defines the available serverside validators. Every key within this array is called the ``<validatoridentifier>``.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier:
|
||||
|
||||
<validatorIdentifier>
|
||||
---------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend/ Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
|
||||
prototypes:
|
||||
standard:
|
||||
NotEmpty:
|
||||
[...]
|
||||
DateTime:
|
||||
[...]
|
||||
Alphanumeric:
|
||||
[...]
|
||||
Text:
|
||||
[...]
|
||||
StringLength:
|
||||
[...]
|
||||
EmailAddress:
|
||||
[...]
|
||||
Integer:
|
||||
[...]
|
||||
Float:
|
||||
[...]
|
||||
NumberRange:
|
||||
[...]
|
||||
RegularExpression:
|
||||
[...]
|
||||
Count:
|
||||
[...]
|
||||
FileSize:
|
||||
[...]
|
||||
|
||||
:aspect:`Related options`
|
||||
- :ref:`"prototypes.prototypeIdentifier.formElementsDefinition.formelementtypeidentifier.formEditor.propertyCollections.validators.[*].identifier"<prototypes.prototypeIdentifier.formelementsdefinition.formelementtypeidentifier.formeditor.propertycollections.validators.*.identifier>`
|
||||
- :ref:`"[ValidatorsEditor] selectOptions.[*].value"<prototypes.prototypeIdentifier.formelementsdefinition.formelementtypeidentifier.formeditor.editors.*.selectoptions.*.value-validatorseditor>`
|
||||
- :ref:`"[RequiredValidatorEditor] validatorIdentifier"<prototypes.prototypeIdentifier.formelementsdefinition.formelementtypeidentifier.formeditor.editors.*.validatoridentifier-requiredvalidatoreditor>`
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
This array key identifies a validator. This identifier could be used to attach a validator to a form element.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-commonproperties:
|
||||
|
||||
Common <validatorIdentifier> properties
|
||||
=======================================
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.options:
|
||||
|
||||
options
|
||||
-------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.options
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend/ Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
Array with validator options.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.formeditor:
|
||||
|
||||
formEditor
|
||||
----------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.formEditor
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Recommended
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
Array with configurations for the ``form editor``
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.formeditor.iconidentifier:
|
||||
|
||||
formeditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.formeditor.label:
|
||||
|
||||
formeditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier.formeditor.predefineddefaults:
|
||||
|
||||
formeditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.<validatorIdentifier>.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value`
|
||||
Depends (see :ref:`concrete validators configuration <prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations>`)
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: properties/predefinedDefaults.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.validatoridentifier-concreteconfigurations:
|
||||
|
||||
Concrete configurations
|
||||
=======================
|
||||
|
||||
.. toctree::
|
||||
|
||||
validators/Alphanumeric
|
||||
validators/Count
|
||||
validators/DateRange
|
||||
validators/DateTime
|
||||
validators/EmailAddress
|
||||
validators/FileSize
|
||||
validators/Float
|
||||
validators/Integer
|
||||
validators/NotEmpty
|
||||
validators/Number
|
||||
validators/NumberRange
|
||||
validators/RegularExpression
|
||||
validators/StringLength
|
||||
validators/Text
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
An icon identifier which must be registered through the :php:`\TYPO3\CMS\Core\Imaging\IconRegistry`.
|
||||
This icon will be shown within the - :ref:`"Inspector [CollectionElementHeaderEditor]"<prototypes.prototypeIdentifier.formelementsdefinition.formelementtypeidentifier.formeditor.editors.*.collectionelementheadereditor>` if the validator is selected.
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Classname which implements the validator.
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
This label will be shown within the - :ref:`"Inspector [CollectionElementHeaderEditor]"<prototypes.prototypeidentifier.formelementsdefinition.formelementtypeidentifier.formeditor.editors.*.collectionelementheadereditor>` if the validator is selected.
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Defines predefined defaults for validator options which are prefilled, if the validator is added to a form element.
|
||||
@@ -0,0 +1,123 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric:
|
||||
|
||||
==============
|
||||
[Alphanumeric]
|
||||
==============
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221551320`
|
||||
- Error message: `The given subject was not a valid alphanumeric string.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Alphanumeric.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Alphanumeric:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\AlphanumericValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Alphanumeric.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Alphanumeric:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Alphanumeric.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.alphanumeric.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Alphanumeric.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Alphanumeric:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Alphanumeric.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,210 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count:
|
||||
|
||||
=======
|
||||
[Count]
|
||||
=======
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1475002976`
|
||||
- Error message: `You must enter a countable subject.`
|
||||
|
||||
- Error code: `1475002994`
|
||||
- Error message: `You must select between %s to %s elements.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Count:
|
||||
implementationClassName: TYPO3\CMS\Form\Mvc\Validation\CountValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.options.minimum:
|
||||
|
||||
options.minimum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.options.minimum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The minimum count to accept.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.options.maximum:
|
||||
|
||||
options.maximum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.options.maximum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The maximum count to accept.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Count:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.MultiSelectionMixin.validators.Count.editor.header.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Count:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.MultiSelectionMixin.validators.Count.editor.header.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.count.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Count.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
Count:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
minimum: ''
|
||||
maximum: ''
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,242 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange:
|
||||
|
||||
===========
|
||||
[DateRange]
|
||||
===========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1521293685`
|
||||
- Error message: `You must enter an instance of \DateTime.`
|
||||
|
||||
- Error code: `1521293686`
|
||||
- Error message: `You must select a date before %s.`
|
||||
|
||||
- Error code: `1521293687`
|
||||
- Error message: `You must select a date after %s.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Count:
|
||||
implementationClassName: TYPO3\CMS\Form\Mvc\Validation\DateRangeValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.options.format:
|
||||
|
||||
options.format
|
||||
--------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.format
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
|
||||
DateRange:
|
||||
options:
|
||||
format: Y-m-d
|
||||
|
||||
:aspect:`Description`
|
||||
The format of the minimum and maximum option.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.options.minimum:
|
||||
|
||||
options.minimum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.minimum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The minimum date formatted as Y-m-d.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.options.maximum:
|
||||
|
||||
options.maximum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.maximum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The maximum date formatted as Y-m-d.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
DateRange:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FormElement.validators.DateRange.editor.header.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
DateRange:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FormElement.validators.DateRange.editor.header.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.daterange.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
DateRange:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
minimum: ''
|
||||
maximum: ''
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,123 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime:
|
||||
|
||||
==========
|
||||
[DateTime]
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime-validationerrorcodes:
|
||||
|
||||
validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1238087674`
|
||||
- Error message: `The given subject was not a valid DateTime. Got: '%s'`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateTime.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
DateTime:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\DateTimeValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateTime.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
DateTime:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.DatePicker.validators.DateTime.editor.header.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.datetime.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.DateTime.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
DateTime:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.DatePicker.validators.DateTime.editor.header.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,126 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress:
|
||||
|
||||
==============
|
||||
[EmailAddress]
|
||||
==============
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221559976`
|
||||
- Error message: `The given subject was not a valid email address.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.EmailAddress.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
EmailAddress:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.EmailAddress.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.EmailAddress.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
EmailAddress:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.EmailAddress.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.emailaddress.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.EmailAddress.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
EmailAddress:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.EmailAddress.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,211 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize:
|
||||
|
||||
==========
|
||||
[FileSize]
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1505303626`
|
||||
- Error message: `You must enter an instance of \TYPO3\CMS\Extbase\Domain\Model\FileReference
|
||||
or \TYPO3\CMS\Core\Resource\File.`
|
||||
|
||||
- Error code: `1505305752`
|
||||
- Error message: `You must select a file that is larger than %s in size.`
|
||||
|
||||
- Error code: `1505305753`
|
||||
- Error message: `You must select a file that is no larger than %s.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
FileSize:
|
||||
implementationClassName: TYPO3\CMS\Form\Mvc\Validation\FileSizeValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.options.minimum:
|
||||
|
||||
options.minimum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.options.minimum
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The minimum filesize to accept. Use the format `<size>B|K|M|G`. For example: `10M` means 10 Megabytes.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.options.maximum:
|
||||
|
||||
options.maximum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.options.maximum
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The maximum filesize to accept. Use the format `<size>B|K|M|G`. For example: `10M` means 10 Megabytes.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
FileSize:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FileUploadMixin.validators.FileSize.editor.header.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
FileSize:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FileUploadMixin.validators.FileSize.editor.header.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.filesize.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
FileSize:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
minimum: '0B'
|
||||
maximum: '10M'
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,123 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float:
|
||||
|
||||
=======
|
||||
[Float]
|
||||
=======
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221560288`
|
||||
- Error message: `The given subject was not a valid float.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Float.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Float:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\FloatValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Float.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Float:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Float.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.float.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Float.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Float:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Float.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,123 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer:
|
||||
|
||||
=========
|
||||
[Integer]
|
||||
=========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221560494`
|
||||
- Error message: `The given subject was not a valid integer.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Integer.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Integer:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\IntegerValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Integer.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Integer:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Integer.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.integer.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Integer.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Integer:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Integer.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,132 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty:
|
||||
|
||||
==========
|
||||
[NotEmpty]
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221560910`
|
||||
- Error message: `The given subject was NULL.`
|
||||
|
||||
- Error code: `1221560718`
|
||||
- Error message: `The given subject was empty.`
|
||||
|
||||
- Error code: `1347992400`
|
||||
- Error message: `The given subject was empty.`
|
||||
|
||||
- Error code: `1347992453`
|
||||
- Error message: `The given subject was empty.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NotEmpty.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
NotEmpty:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NotEmpty.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
NotEmpty:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FormElement.editor.requiredValidator.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.notempty.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NotEmpty.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
NotEmpty:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.FormElement.editor.requiredValidator.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
@@ -0,0 +1,124 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number:
|
||||
|
||||
========
|
||||
[Number]
|
||||
========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221563685`
|
||||
- Error message: `The given subject was not a valid number.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Number.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Number:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\NumberValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Number.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Number:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Number.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.number.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Number.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Number:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Number.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
@@ -0,0 +1,210 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange:
|
||||
|
||||
=============
|
||||
[NumberRange]
|
||||
=============
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange-validationerrorcodes:
|
||||
|
||||
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).`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
NumberRange:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.options.minimum:
|
||||
|
||||
options.minimum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.options.minimum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The minimum value to accept.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.options.maximum:
|
||||
|
||||
options.maximum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.options.maximum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The maximum value to accept.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
NumberRange:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
NumberRange:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.NumberRange.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.numberrange.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.NumberRange.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
NumberRange:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
minimum: ''
|
||||
maximum: ''
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,182 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression:
|
||||
|
||||
===================
|
||||
[RegularExpression]
|
||||
===================
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221565130`
|
||||
- Error message: `The given subject did not match the pattern.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
RegularExpression:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\RegularExpressionValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression.options.regularExpression:
|
||||
|
||||
options.regularExpression
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.options.regularExpression
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
The regular expression to use for validation, used as given.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
RegularExpression:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
RegularExpression:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.RegularExpression.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.regularexpression.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.RegularExpression.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
RegularExpression:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
regularExpression: ''
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,219 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength:
|
||||
|
||||
==============
|
||||
[StringLength]
|
||||
==============
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1238110957`
|
||||
- Error message: `The given object could not be converted to a string.`
|
||||
|
||||
- Error code: `1269883975`
|
||||
- Error message: `The given value was not a valid string.`
|
||||
|
||||
- Error code: `1428504122`
|
||||
- Error message: `The length of the given string was not between %s and %s characters.`
|
||||
|
||||
- Error code: `1238108068`
|
||||
- Error message: `The length of the given string is less than %s characters.`
|
||||
|
||||
- Error code: `1238108069`
|
||||
- Error message: `The length of the given string exceeded %s characters.`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
StringLength:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.options.minimum:
|
||||
|
||||
options.minimum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.options.minimum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
Minimum length for a valid string.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.options.maximum:
|
||||
|
||||
options.maximum
|
||||
---------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.options.maximum
|
||||
|
||||
:aspect:`Data type`
|
||||
int
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
undefined
|
||||
|
||||
:aspect:`Description`
|
||||
Maximum length for a valid string.
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
StringLength:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.StringLength.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
StringLength:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.StringLength.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.stringlength.formeditor.predefineddefaults:
|
||||
|
||||
formEditor.predefinedDefaults
|
||||
-----------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.StringLength.formEditor.predefinedDefaults
|
||||
|
||||
:aspect:`Data type`
|
||||
array
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
No
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3-
|
||||
|
||||
StringLength:
|
||||
formEditor:
|
||||
predefinedDefaults:
|
||||
options:
|
||||
minimum: ''
|
||||
maximum: ''
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/predefinedDefaults.rst.txt
|
||||
@@ -0,0 +1,123 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text:
|
||||
|
||||
======
|
||||
[Text]
|
||||
======
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text-validationerrorcodes:
|
||||
|
||||
Validation error codes
|
||||
======================
|
||||
|
||||
- Error code: `1221565786`
|
||||
- Error message: `The given subject was not a valid text (e.g. contained XML tags).`
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text-properties:
|
||||
|
||||
Properties
|
||||
==========
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text.implementationClassName:
|
||||
|
||||
implementationClassName
|
||||
-----------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Text.implementationClassName
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Frontend
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 2
|
||||
|
||||
Text:
|
||||
implementationClassName: TYPO3\CMS\Extbase\Validation\Validator\TextValidator
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Custom validator implementations"<concepts-validators-customvalidatorimplementations>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/implementationClassName.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text.formeditor.iconidentifier:
|
||||
|
||||
formEditor.iconIdentifier
|
||||
-------------------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Text.formEditor.iconIdentifier
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 3
|
||||
|
||||
Text:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Text.label
|
||||
|
||||
.. :aspect:`Good to know`
|
||||
ToDo
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/iconIdentifier.rst.txt
|
||||
|
||||
|
||||
.. _prototypes.prototypeIdentifier.validatorsdefinition.text.formeditor.label:
|
||||
|
||||
formEditor.label
|
||||
----------------
|
||||
|
||||
:aspect:`Option path`
|
||||
prototypes.<prototypeIdentifier>.validatorsDefinition.Text.formEditor.label
|
||||
|
||||
:aspect:`Data type`
|
||||
string
|
||||
|
||||
:aspect:`Needed by`
|
||||
Backend (form editor)
|
||||
|
||||
:aspect:`Mandatory`
|
||||
Yes
|
||||
|
||||
:aspect:`Default value (for prototype 'standard')`
|
||||
.. code-block:: yaml
|
||||
:linenos:
|
||||
:emphasize-lines: 4
|
||||
|
||||
Text:
|
||||
formEditor:
|
||||
iconIdentifier: form-validator
|
||||
label: formEditor.elements.TextMixin.editor.validators.Text.label
|
||||
|
||||
:aspect:`Good to know`
|
||||
- :ref:`"Translate form editor settings"<concepts-formeditor-translation-formeditor>`
|
||||
|
||||
:aspect:`Description`
|
||||
.. include:: ../properties/label.rst.txt
|
||||
Reference in New Issue
Block a user