.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../../../Includes.txt .. _administrators_setup_tca_defaults_defaults: .. index:: pair: Flexform; Default values pair: TCA; Default values Default Values ============== xblog.defaults -------------- This is where the default values are set. The field name corresponds to that in the flex form. Unfortunately, it is not possible to define a default value for all fields contained in the flex form. At present, this option is also limited to selection boxes. Sample .. code:: php $GLOBALS['TCA'][tx_org_news]['ctrl']['extensions']['xblog']['defaults'] = [ 'settings.flexform.pi.bridge.imageField' => 'image', 'settings.flexform.pi.bridge.mediaField' => 'documents', 'settings.flexform.pi.bridge.category' => 'tx_org_newscat', 'settings.flexform.pi.bridge.relatedrecord' => 'related', 'settings.flexform.pi.table.selectOrderField' => 'datetime', 'settings.flexform.pi.table.selectOrderDirection' => 'DESC', 'settings.flexform.pi1.list.morebutton' => 'bottom', 'settings.flexform.pi1.profile.datetimefield' => 'datetime', 'settings.flexform.pi1.profile.showUid' => 'newsUid', 'settings.flexform.pi1.tmpl.grid' => '8', 'settings.flexform.pi1.tmpl.marginPosition' => 'right', ] Configuration example online https://gitlab.die-netzmacher.de/typo3/org/-/blob/master/Configuration/TCA/tx_org_news.php