Project

General

Profile

Actions

Bug #73101

closed

TCA eval 'email' - error flashmessage if field is empty

Added by Stephan Bauer almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-03
Due date:
% Done:

100%

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

Description

An empty field have to be possible with eval 'email'

Actions #1

Updated by Markus Klein almost 9 years ago

Can you please describe that a bit more?

Are you able to save the form with now email and an error message is displayed, or are you not even able to save the form?

Actions #2

Updated by Stephan Bauer almost 9 years ago

Sorry for providing less informations.

I can save and save/close but I' getting the error message (with red background) "" is not a valid e-mail address.

TCA:

    'email' => array(
        'exclude' => 1,
        'label' => 'LLL:EXT:xxx.email',
        'config' => array(
            'type' => 'input',
            'size' => 30,
            'eval' => 'trim,email'
        ),

    ),

Actions #3

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46517

Actions #4

Updated by Gerrit Code Review almost 9 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46533

Actions #5

Updated by Markus Klein almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF