[TYPO3-english] Select box in flexform

Udo Leimberger udo at t3developer.de
Thu Jan 10 15:50:33 CET 2013


Hi Sergio,

just a type mismatch.

Use maxitems instead of maxItems ;-)
Happy coding.
Udo

Am 10.01.2013 um 15:22 schrieb Sergio <naguib.mahfuz at gmail.com>:

> Hi,
> 
> I'm building a flexform for my extension and I have a setting what I want
> to be displayed like this:
> 
> http://typo3.org/typo3temp/pics/100002010000021D000000A21269C585_62383a2581.png
> 
> I mean, a select with two columns: left for selected items from a table,
> and right for available items.
> 
> The code for this flexform is:
> 
> <settings.publisher>
>  <TCEforms>
>    <label>Label</label>
>    <config>
>      <type>select</type>
>      <foreign_table>tx_extension_table</foreign_table>
>      <foreign_table_where>ORDER BY
> tx_extension_table.nameASC</foreign_table_where>
>      <size>10</size>
>      <minItems>0</minItems>
>      <maxItems>100</maxItems>
>    </config>
>  </TCEforms>
> </settings.publisher>
> 
> But it's only viewed with one column for selected items. Isn't that
> possible with flexforms? Am I missing some parameter? I see you can do it
> with TCA.
> 
> Any suggestions?
> 
> Sergio
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list