Project

General

Profile

Actions

Bug #17889

closed

TCA eval on TEXT field does not work

Added by Typoheads GmbH over 16 years ago. Updated about 12 years ago.

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

0%

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

Description

i tried to make a field of type 'text' required:

$TCA['tt_content']['columns']['altText']['config']['eval'] = 'required';

eval works for type input but altText (used in 'Text with image') can't be changed to type input because every line is rendered for one individual image...

http://lists.typo3.org/pipermail/typo3-english/2006-August/029204.html

similar patch:
#17468

(issue imported from #M6896)


Files

bug6896.diff (3.42 KB) bug6896.diff Administrator Admin, 2008-04-03 23:25
T3X_test6896-0_0_0-z-200804032313.t3x (8.73 KB) T3X_test6896-0_0_0-z-200804032313.t3x Administrator Admin, 2008-04-03 23:25
Actions #1

Updated by Oliver Hader over 16 years ago

Did you test this also with the latest 4.1.x version?

Actions #2

Updated by Typoheads GmbH over 16 years ago

yes. in v4.1.2 => doesn't work either

Actions #3

Updated by Oliver Hader over 16 years ago

There's currently no "eval" property for type "text" - so, this isn't a bug, but more a feature.
The "eval" property or a textarea could look like this (no need to reuse the whole stuff from type "input"):
- required
- trim
- tx_*

Actions #4

Updated by Typoheads GmbH over 16 years ago

according to the bugtracker - motto yes: It's not a bug, it's a missing feature ;-)
+1 for your suggested properties
others (nospace,lower,unique,uniqueInPid,..) dont make sense imho

Actions #5

Updated by Ingo Renner about 16 years ago

can still be fixed with 4.2.x or later, for now removing this issue from the roadmap as does not even have a patch

Actions #6

Updated by Thomas Hempel about 16 years ago

Attached a patch. RFC is in core list

Actions #7

Updated by Sebastian Kurfuerst about 16 years ago

Fixed in 4.2

Actions #8

Updated by Chris topher about 12 years ago

  • Target version deleted (-1)
Actions

Also available in: Atom PDF