[FileSize]

validation error codes

  • 1505303626
  • 1505305752
  • 1505305753

Properties

implementationClassName

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.implementationClassName
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
Good to know
Description
Classname which implements the validator.

options.minimum

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.options.minimum
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
undefined
Description
The minimum filesize to accep. Use the format <size>B|K|M|G. For exmaple: 10M means 10 Megabytes.

options.maximum

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.options.maximum
Data type
string
Needed by
Frontend
Mandatory
Yes
Default value (for prototype 'standard')
undefined
Description
The maximum filesize to accep. Use the format <size>B|K|M|G. For exmaple: 10M means 10 Megabytes.

formeditor.iconIdentifier

Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.validatorsDefinition.FileSize.formEditor.iconIdentifier
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
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.FileSize.formEditor.label
Data type
string
Needed by
Backend (form editor)
Mandatory
Yes
Default value (for prototype 'standard')
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.FileSize.formEditor.predefinedDefaults
Data type
array
Needed by
Backend (form editor)
Mandatory
No
Default value (for prototype 'standard')
Description
Defines predefined defaults for validator options which are prefilled, if the validator is added to a form element.