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

Stig Nørgaard Færch snf at dkm.dk
Tue Oct 6 15:06:11 CEST 2009


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")).

Any ideas what to do?

Thanks.

/Stig


More information about the TYPO3-project-templavoila mailing list