[DateRange]
Validation error codes
- Error code:
1521293685
- Error message:
You must enter an instance of \
Date Time. - Error code:
1521293686
- Error message:
You must select a date before %s.
- Error code:
1521293687
- Error message:
You must select a date after %s.
Properties
implementationClassName
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.implementationClassName
- Data type
- string
- Needed by
- Frontend
- Mandatory
- Yes
- Default value (for prototype 'standard')
Count: implementationClassName: TYPO3\CMS\Form\Mvc\Validation\DateRangeValidator
Copied!- Good to know
- Description
-
Classname which implements the validator.
options.format
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.format
- Data type
- string
- Needed by
- Frontend
- Mandatory
- Yes
- Default value (for prototype 'standard')
DateRange: options: format: Y-m-d
Copied!- Description
- The format of the minimum and maximum option.
options.minimum
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.minimum
- Data type
- int
- Needed by
- Frontend
- Mandatory
- Yes
- Default value (for prototype 'standard')
- undefined
- Description
- The minimum date formatted as Y-m-d.
options.maximum
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.options.maximum
- Data type
- int
- Needed by
- Frontend
- Mandatory
- Yes
- Default value (for prototype 'standard')
- undefined
- Description
- The maximum date formatted as Y-m-d.
formEditor.iconIdentifier
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.formEditor.iconIdentifier
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype 'standard')
DateRange: formEditor: iconIdentifier: form-validator label: formEditor.elements.FormElement.validators.DateRange.editor.header.label
Copied!
- Description
-
An icon identifier which must be registered through the
\TYPO3\
. This icon will be shown within the - "Inspector [CollectionElementHeaderEditor]" if the validator is selected.CMS\ Core\ Imaging\ Icon Registry
formEditor.label
- Option path
- prototypes.<prototypeIdentifier>.validatorsDefinition.DateRange.formEditor.label
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype 'standard')
DateRange: formEditor: iconIdentifier: form-validator label: formEditor.elements.FormElement.validators.DateRange.editor.header.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.DateRange.formEditor.predefinedDefaults
- Data type
- array
- Needed by
- Backend (form editor)
- Mandatory
- No
- Default value (for prototype 'standard')
DateRange: 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.