Project

General

Profile

Actions

Bug #16602

closed

eval => 'required,datetime' has no "required" effect, eval => 'datetime,required' renders the value useless

Added by Wolfgang Klinger almost 18 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-09-27
Due date:
% Done:

0%

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

Description

TCA config

eval => 'required,datetime' has no "required" effect,
I can simply skip this field

eval => 'datetime,required'
does not render the values, but only displays the unix timestamp (seconds)

Example:

        'user_myext_date' => Array (
            'exclude' => 1,
            'label' => 'LLL:EXT:user_myext/locallang_db.xml:pages.user_myext_date',
            'config' => Array (
                'type' => 'input',
                'size' => '8',
                'max' => '20',
                'eval' => 'required,datetime',
                'checkbox' => '0',
                'default' => '0'
            )
        ),

Can anybody confirm that?

btw "required" for a "text" field would be nice too
(issue imported from #M4296)

Actions

Also available in: Atom PDF