[TYPO3-project-formidable] Multiple values from LISTBOX

Manuel Rego Casasnovas mrego at igalia.com
Mon May 14 10:19:19 CEST 2007


Hello.

I want to create a form with a listbox in which you can select several
values. I get it with the next code:
<renderlet:LISTBOX name="var">
  <data>
    <items>
      <item caption="one" value="1" />
      <item caption="two" value="2" />
      ...
      <item caption="ten" value="10" />
    </items>
  </data>
  <custom>multiple size="5"</custom>
</renderlet:LISTBOX>

The problem is that to receive the values from this form, the
renderlet's name must end with square brackets, something like "var[]".
If I put square brackets at the end of the name, the renderlet isn't
showed in my form.

Some solution to do a multiple listbox?

Thanks,
   Rego

--
http://www.igalia.com



More information about the TYPO3-project-formidable mailing list