Project

General

Profile

Actions

Bug #17468

closed

TCA eval required on date field does not work

Added by Stefano Cecere over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-07-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

i'm trying to make a date field required ( using a TCA like this:

'tx_cxeurizon_publish_date' => array (
'label' => 'my date field',
'config' => array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'required,date',
'checkbox' => '0',
'default' => '0'
)
),

but is seems to not work!

in mysql the field is of "int" type (like it should for all timestamp values...

note: i have ext date2cal (6.0.3) installed, but it doesn't work even if i deinstall it...

(issue imported from #M5956)


Files

0005956.patch (5.55 KB) 0005956.patch Administrator Admin, 2007-08-03 17:48
T3X_test_daterequired-0_0_0-z-200708031748.t3x (10.3 KB) T3X_test_daterequired-0_0_0-z-200708031748.t3x Administrator Admin, 2007-08-03 17:48
0005956_v2.patch (5.58 KB) 0005956_v2.patch Administrator Admin, 2007-08-05 13:57
0005956_v3.patch (5.79 KB) 0005956_v3.patch Administrator Admin, 2007-08-21 09:51
0005956_v4_trunk.patch (5.63 KB) 0005956_v4_trunk.patch Administrator Admin, 2007-11-23 15:51

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #17436: Notify user where required elements are nested in IRRE or TabsClosedOliver Hader2007-07-04

Actions
Related to TYPO3 Core - Bug #24489: Wrong variable used in 'evalFunc_outputObjValue'Closed2011-01-06

Actions
Actions

Also available in: Atom PDF