Project

General

Profile

Actions

Bug #80322

closed

Form validation for fileallowedtypes could not be send empty

Added by Samuel Heinz about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-03-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If file upload field has a validation for fileallowedtypes, you can't send the form with empty upload field.
Error Message for empty upload field: Dieser Dateityp ist nicht erlaubt
The field is not mandatory

    9 = fileallowedtypes
    9 {
        showMessage = 1
        message = (%allowedTypes)
        error = Dieser Dateityp ist nicht erlaubt
        types = image/jpeg
        element = files
    }

Tested version: TYPO3 7.6.16

Actions

Also available in: Atom PDF