[TYPO3] How to get values for multiple select
Sander van Gelderen
mail at NOSPsandervangelderen.nl
Sat May 19 18:00:31 CEST 2007
Hi Tonino,
my previous msg was a bit short, maybe not very clear :)
I think you can solve this by making a change in your select-tag.
Add a pair of square brackets[] to the name-attribute.
Before: <select name="aname" multiple="multiple" ...>
After: <select name="aname[]" multiple="multiple" ...>
Good luck!
Sander van Gelderen schreef:
> I am sure you realize this already, but just to remind:
> params from a multiple-select are not regular name/value pairs,
> but an array.
>
> HTH Sander
>
> tonix (Antonio Nati) schreef:
>> At 16.29 19/05/2007, you wrote:
>>> I've set up a complete page, having some <SELECT> field with multiple
>>> option that can be pressed.
>>>
>>> But I've problems on capturing these pressed values, as _GET and
>>> _POST return me only the first value of the pressed list.
>>
>> Forgot to add... browser sends all parameters, I can see putting form
>> in get mode, but TYPO3 does not see them.
>>
>> Tonino
>>
>>> Any hint? Is there any special TYPO3 functions or any setting to do?
>>>
>>> Thanks,
>>>
>>> Tonino
>>>
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
More information about the TYPO3-english
mailing list