Bug #17889
closedTCA eval on TEXT field does not work
0%
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
Updated by Oliver Hader over 16 years ago
Did you test this also with the latest 4.1.x version?
Updated by Typoheads GmbH over 16 years ago
yes. in v4.1.2 => doesn't work either
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_*
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
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
Updated by Thomas Hempel about 16 years ago
Attached a patch. RFC is in core list