[TYPO3-dev] checking the values of TCA user fields
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Aug 28 12:41:20 CEST 2006
Dmitry Dulepov schrieb:
> Hi!
>
> Martin Kutschker wrote:
>
>> How do I check the value of a user rendered field? The TCA knows only
>> about "userFunc" (which should IMHO be called "renderFunc"), but has
>> no "evalFunc".
>>
>> The "evalFunc" should be called in t3lib_TCEmain::checkValue_SW().
>> Currently for type "user" the value is only passed on, without any check.
>>
>> So I have to use one of the general hooks of
>> t3lib_TCEmain::process_datamap(), right?
>
> Seems so.
Does it makes sense to add "evalFunc"? To me a field specific function is
cleaner than a hook function that needs to check for the "right"
table/field in the data.
Masi
More information about the TYPO3-dev
mailing list