[FileUpload]¶
Properties¶
implementationClassName¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.implementationClassName
- Data type
- string
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- No
- form editor can write this property into the form definition (for prototype ‘standard’)
- No
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2
FileUpload: implementationClassName: TYPO3\CMS\Form\Domain\Model\FormElements\FileUpload
- Description
- Classname which implements the form element.
properties.containerClassAttribute¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.properties.containerClassAttribute
- Data type
- string
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- Yes
- form editor can write this property into the form definition (for prototype ‘standard’)
- No
- Mandatory
- No
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11
FileUpload: properties: containerClassAttribute: input elementClassAttribute: '' elementErrorClassAttribute: error saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/msword - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.oasis.opendocument.text - application/pdf
- Description
- A CSS class which is typically wrapped around the form elements.
properties.elementClassAttribute¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.properties.elementClassAttribute
- Data type
- string
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- Yes
- form editor can write this property into the form definition (for prototype ‘standard’)
- No
- Mandatory
- No
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11
FileUpload: properties: containerClassAttribute: input elementClassAttribute: '' elementErrorClassAttribute: error saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/msword - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.oasis.opendocument.text - application/pdf
- Description
- A CSS class written to the form element.
properties.elementErrorClassAttribute¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.properties.elementErrorClassAttribute
- Data type
- string
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- Yes
- form editor can write this property into the form definition (for prototype ‘standard’)
- No
- Mandatory
- No
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11
FileUpload: properties: containerClassAttribute: input elementClassAttribute: '' elementErrorClassAttribute: error saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/msword - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.oasis.opendocument.text - application/pdf
- Description
- A CSS class which is written to the form element if validation errors exists.
properties.saveToFileMount¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.properties.saveToFileMount
- Data type
- string
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- Yes
- form editor can write this property into the form definition (for prototype ‘standard’)
- Yes
- Mandatory
- No
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11
FileUpload: properties: containerClassAttribute: input elementClassAttribute: '' elementErrorClassAttribute: error saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/msword - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.oasis.opendocument.text - application/pdf
- Description
- The location (file mount) for the uploaded files. If this file mount or the property “saveToFileMount” does not exist the folder in which the form definition lies (persistence identifier) will be used. If the form is generated programmatically and therefore no persistence identifier exist the default storage “1:/user_upload/” will be used.
properties.allowedMimeTypes¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.properties.allowedMimeTypes
- Data type
- array
- Needed by
- Frontend/ Backend (form editor)
- Overwritable within form definition
- Yes
- form editor can write this property into the form definition (for prototype ‘standard’)
- Yes
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11
FileUpload: properties: containerClassAttribute: input elementClassAttribute: '' elementErrorClassAttribute: error saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/msword - application/vnd.openxmlformats-officedocument.wordprocessingml.document - application/vnd.oasis.opendocument.text - application/pdf
- Description
- The allowed mime types for the file uploads.
formEditor¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor
- Data type
- array
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
FileUpload: formEditor: editors: 100: identifier: header templateName: Inspector-FormElementHeaderEditor 200: identifier: label templateName: Inspector-TextEditor label: formEditor.elements.FormElement.editor.label.label propertyPath: label 300: identifier: allowedMimeTypes templateName: Inspector-MultiSelectEditor label: formEditor.elements.FileUpload.editor.allowedMimeTypes.label propertyPath: properties.allowedMimeTypes selectOptions: 10: value: application/msword label: formEditor.elements.FileUpload.editor.allowedMimeTypes.doc 20: value: application/vnd.openxmlformats-officedocument.wordprocessingml.document label: formEditor.elements.FileUpload.editor.allowedMimeTypes.docx 30: value: application/msexcel label: formEditor.elements.FileUpload.editor.allowedMimeTypes.xls 40: value: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet label: formEditor.elements.FileUpload.editor.allowedMimeTypes.xlsx 50: value: application/pdf label: formEditor.elements.FileUpload.editor.allowedMimeTypes.pdf 60: value: application/vnd.oasis.opendocument.text label: formEditor.elements.FileUpload.editor.allowedMimeTypes.odt 70: value: application/vnd.oasis.opendocument.spreadsheet-template label: formEditor.elements.FileUpload.editor.allowedMimeTypes.ods 400: identifier: saveToFileMount templateName: Inspector-SingleSelectEditor label: formEditor.elements.FileUploadMixin.editor.saveToFileMount.label propertyPath: properties.saveToFileMount selectOptions: 10: value: '1:/user_upload/' label: '1:/user_upload/' 700: identifier: gridColumnViewPortConfiguration templateName: Inspector-GridColumnViewPortConfigurationEditor label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label configurationOptions: viewPorts: 10: viewPortIdentifier: xs label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 20: viewPortIdentifier: sm label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 30: viewPortIdentifier: md label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 40: viewPortIdentifier: lg label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label numbersOfColumnsToUse: label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText 800: identifier: requiredValidator templateName: Inspector-RequiredValidatorEditor label: formEditor.elements.FormElement.editor.requiredValidator.label validatorIdentifier: NotEmpty propertyPath: properties.fluidAdditionalAttributes.required propertyValue: required 9999: identifier: removeButton templateName: Inspector-RemoveElementEditor predefinedDefaults: properties: saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/pdf label: formEditor.elements.FileUpload.label group: custom groupSorting: 100 iconIdentifier: t3-form-icon-file-upload
formEditor.editors.100¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.100
- Data type
- array/ [FormElementHeaderEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6
FileUpload: formEditor: editors: 100: identifier: header templateName: Inspector-FormElementHeaderEditor
formEditor.editors.200¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.200
- Data type
- array/ [TextEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8
FileUpload: formEditor: editors: 200: identifier: label templateName: Inspector-TextEditor label: formEditor.elements.FormElement.editor.label.label propertyPath: label
formEditor.editors.300¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.300
- Data type
- array/ [MultiSelectEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
FileUpload: formEditor: editors: 300: identifier: allowedMimeTypes templateName: Inspector-MultiSelectEditor label: formEditor.elements.FileUpload.editor.allowedMimeTypes.label propertyPath: properties.allowedMimeTypes selectOptions: 10: value: application/msword label: formEditor.elements.FileUpload.editor.allowedMimeTypes.doc 20: value: application/vnd.openxmlformats-officedocument.wordprocessingml.document label: formEditor.elements.FileUpload.editor.allowedMimeTypes.docx 30: value: application/msexcel label: formEditor.elements.FileUpload.editor.allowedMimeTypes.xls 40: value: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet label: formEditor.elements.FileUpload.editor.allowedMimeTypes.xlsx 50: value: application/pdf label: formEditor.elements.FileUpload.editor.allowedMimeTypes.pdf 60: value: application/vnd.oasis.opendocument.text label: formEditor.elements.FileUpload.editor.allowedMimeTypes.odt 70: value: application/vnd.oasis.opendocument.spreadsheet-template label: formEditor.elements.FileUpload.editor.allowedMimeTypes.ods
formEditor.editors.400¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.400
- Data type
- array/ [SingleSelectEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12
FileUpload: formEditor: editors: 400: identifier: saveToFileMount templateName: Inspector-SingleSelectEditor label: formEditor.elements.FileUploadMixin.editor.saveToFileMount.label propertyPath: properties.saveToFileMount selectOptions: 10: value: '1:/user_upload/' label: '1:/user_upload/'
formEditor.editors.700¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.700
- Data type
- array/ [GridColumnViewPortConfigurationEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
FileUpload: formEditor: editors: 700: identifier: gridColumnViewPortConfiguration templateName: Inspector-GridColumnViewPortConfigurationEditor label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.label configurationOptions: viewPorts: 10: viewPortIdentifier: xs label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.xs.label 20: viewPortIdentifier: sm label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.sm.label 30: viewPortIdentifier: md label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.md.label 40: viewPortIdentifier: lg label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.lg.label numbersOfColumnsToUse: label: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.label propertyPath: 'properties.gridColumnClassAutoConfiguration.viewPorts.{@viewPortIdentifier}.numbersOfColumnsToUse' fieldExplanationText: formEditor.elements.FormElement.editor.gridColumnViewPortConfiguration.numbersOfColumnsToUse.fieldExplanationText
formEditor.editors.800¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.800
- Data type
- array/ [RequiredValidatorEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7 8 9 10
FileUpload: formEditor: editors: 800: identifier: requiredValidator templateName: Inspector-RequiredValidatorEditor label: formEditor.elements.FormElement.editor.requiredValidator.label validatorIdentifier: NotEmpty propertyPath: properties.fluidAdditionalAttributes.required propertyValue: required
formEditor.editors.9999¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.editors.9999
- Data type
- array/ [RemoveElementEditor]
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6
FileUpload: formEditor: editors: 9999: identifier: removeButton templateName: Inspector-RemoveElementEditor
formEditor.predefinedDefaults¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.predefinedDefaults
- Data type
- array
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3 4 5 6 7
FileUpload: formEditor: predefinedDefaults: properties: saveToFileMount: '1:/user_upload/' allowedMimeTypes: - application/pdf
- Description
- Defines predefined defaults for form element properties which are prefilled, if the form element is added to a form.
formEditor.label¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.label
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2 3
FileUpload: formEditor: label: formEditor.elements.FileUpload.label
- Good to know
- Description
- This label will be shown within the “new element” Modal.
formEditor.group¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.group
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3
FileUpload: formEditor: group: custom
- Default value
- Depends (see concrete element configuration)
- Description
- Define within which group within the
form editor
“new Element” modal the form element should be shown. Thegroup
value must be equal to an array key withinformElementGroups
.
formEditor.groupSorting¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.groupSorting
- Data type
- int
- Needed by
- Backend (form editor)
- Mandatory
- Recommended
- Default value (for prototype ‘standard’)
1 2 3
FileUpload: formEditor: groupSorting: 100
- Description
- The position within the
formEditor.group
for this form element.
formEditor.iconIdentifier¶
- Option path
- TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.FileUpload.formEditor.iconIdentifier
- Data type
- string
- Needed by
- Backend (form editor)
- Mandatory
- Yes
- Default value (for prototype ‘standard’)
1 2 3
FileUpload: formEditor: iconIdentifier: t3-form-icon-file-upload
- Description
An icon identifier which must be registered through the
\TYPO3\CMS\Core\Imaging\IconRegistry
. This icon will be shown within- “Inspector [FormElementHeaderEditor]”.
- “Abstract view formelement templates”.
Tree
component.- “new element” Modal