[Typo3-german] Flexform > Wie setze ich einen Default-Wert?

Alexander Bohndorf bohndorf at sitegeist.de
Fri Jul 29 14:22:57 CEST 2005


Hi!

Ich möchte 2 Radio-Buttons anzeigen, von denen einer per Default ausgewählt 
ist.
Wie ist die XML-Syntax dafür?

Bisher habe ich folgendes (ohne Erfolg) probiert:
   <field_datasource>
    <TCEforms>
     <label>LLL:EXT:sms_ger_anbieter/locallang_db.php:tx_smsgeranbieter_seller.datasource</label>
     <config>
      <type>radio</type>
      <items>
       <numIndex index="0">
        <numIndex 
index="0">LLL:EXT:sms_ger_anbieter/locallang_db.php:tx_smsgeranbieter_seller.datasource.sellerslist</numIndex>
        <numIndex index="1">A</numIndex>
       </numIndex>
       <numIndex index="1">
        <numIndex 
index="0">LLL:EXT:sms_ger_anbieter/locallang_db.php:tx_smsgeranbieter_seller.datasource.categorieslist</numIndex>
        <numIndex index="1">K</numIndex>
       </numIndex>
      </items>
      <default>0</default>
     </config>
    </TCEforms>
   </field_datasource>

Danke für jede Hilfe!

Alexander 





More information about the TYPO3-german mailing list