[Typo3-dev] How to initialise a TCEform field with a default value in backend
Mario Birkigt
mario.birkigt at t-online.de
Thu May 19 20:15:09 CEST 2005
Hi list
I want to generate a form in the backend with the help of TCEforms and initialise some fields with default values. How can i initialise the field 'title' with the default value 'testtitle' in the following sourcecode?
$tce=t3lib_div::makeInstance("t3lib_TCEforms");
$tce->t3lib_TCEforms();
$tce->initDefaultBEmode();
$content=$tce->getSingleField("tx_bookdb_book","title",???,???);
Is there anywhere a working example for generating forms with TCEforms, which i can look at for better understanding?
- Mario Birkigt (mbirkigt)
-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/dev-list-archive/
More information about the TYPO3-dev
mailing list