[TYPO3] How to make the date field a required field?
Kahlil Lechelt
k.lechelt at gmx.de
Mon Jan 23 17:41:43 CET 2006
Kahlil Lechelt wrote:
> Peter Klein wrote:
>> Hi Kahlil, Take a look here:
>> http://typo3.org/documentation/document-library/doc_core_api/columns_fieldnam-1/
>>
>>
>> The "eval" key is what you need.. ;)
>>
>> ---
>> Peter Klein / Umloud Untd
>>
>> "Kahlil Lechelt" <k.lechelt at gmx.de> wrote in message
>> news:mailman.1.1137777495.5156.typo3-english at lists.netfielders.de...
>>> Hi
>>>
>>> In my extension I have a table with a field for a date. I would like
>>> to make the date field a required field. Is that possible?
>>>
>>> Regards,
>>> Kahlil
>>
>>
> ahh yes i thought so, but i didnt know that the eval field in the tca
> can be a list...
>
> thanks man
When I set my datefield als required like this in my tca:
"eval" => "date,required",
"checkbox" => "0",
"default" => "0"
I the datefield is not checked. It doesnt work.
Do you know how to make it work? Is it possible with datefields?
regards
kahlil
More information about the TYPO3-english
mailing list