[TYPO3-templavoila] fce: default value for input field - problems...

Stig Nørgaard Færch snf at dkm.dk
Thu Oct 8 13:37:34 CEST 2009

Dmitry Dulepov skrev:
> Hi!
> Stig Nørgaard Færch wrote:
>> I'm trying to get the current date as default for a input field.
>> It seems to work for tt_news (datetime field), but if I put this:
>> mktime(date("H"),date("i"),0,date("m"),date("d"),date("Y"))
>> into the default field, it will not be processed and will just display
>> exactly mktime(date("H"),date("i"),0,date("m"),date("d"),date("Y")).
> You cannot really expect PHP function to be executed in XML ;)

Doh - yes - I see.
So I guess it's not possible to get dynamic default values?


More information about the TYPO3-project-templavoila mailing list