[TYPO3-dev] [SOLVED] TYPO3 FlexForm and "select" type (from TYPO3-English)

Victor Livakovsky v-tyok at mail.ru
Wed Jul 15 10:17:24 CEST 2009


Hi, Michael.
>>
>> <T3DataStructure>
>>   <meta>
>>     <langDisable>1</langDisable>
>>     <langChildren>0</langChildren>
>>   </meta>
>>   <ROOT>
>>     <type>array</type>
>>     <el>
>>       <clubServices>
>>         <TCEforms>
>>           
>> <label>LLL:EXT:club_services/locallang_db.xml:pi1_flexform.services</
>>     
> label>
>   
>>           <config>
>>             <type>select</type>
>>             <foreign_table>tx_clubservices_service</foreign_table>
>>             <foreign_table_where>AND
>> tx_clubservices_service.pid=###STORAGE_PID### ORDER BY
>> tx_clubservices_service.uid</foreign_table_where>
>>             <size>10</size>
>>             <minItems>0</minItems>
>>             <maxItems>100</maxItems>
>>           </config>
>>         </TCEforms>
>>       </clubServices>
>>     </el>
>>   </ROOT>
>> </T3DataStructure>
>>     
>
> You need this if you want a 2 side list:
>
> <multiple>1</multiple>
>
> 2 list selection are only shown when multiple selection is activated.
>   

Thank you for a responce.
But, actually, 'multiple' is a bit different property. It "Allows the 
same item more than once in a list." (TYPO3 Core API)

Anyway, I've solved my problem by myself.
It was because of wrong spelling here: <maxItems>100</maxItems>
Should be: <maxitems>100</maxitems> (with 'i' instead of 'I'). This 
parameter was omitted and 'maxitems' was set to default '1', which 
builds only one list.
Was hard to find, but finally, it works, as it should :)




More information about the TYPO3-dev mailing list