:-( Sorry that was also the first idea i have, but this doesn't work. It's 
totaly crazy i've feel i am on the first class elementary school.
________________________________________
Von: [email protected] [[email protected]] im 
Auftrag von Ries van Twisk [[email protected]]
Gesendet: Mittwoch, 2. Februar 2011 17:45
An: Magnolia User-List
Betreff: Re: [magnolia-user]  Freemarker Mail Multiple Parameters

This is a very wild guess,

but try this:

<label><input type="checkbox" name="infomaterial[0]" value=" Test1" /> 
Test1</label>
<label><input type="checkbox" name="infomaterial[1]" value=" Test2" /> 
Test2</label>
<label><input type="checkbox" name="infomaterial[2]" value=" Test3" /> 
Test3</label>

Or this:

<label><input type="checkbox" name="infomaterial[]" value=" Test1" /> 
Test1</label>
<label><input type="checkbox" name="infomaterial[]" value=" Test2" /> 
Test2</label>
<label><input type="checkbox" name="infomaterial[]" value=" Test3" /> 
Test3</label>


Ries


On Feb 2, 2011, at 10:34 AM, Marvin Kerkhoff wrote:

Hi there,

i have following problem. I’ve used checkboxes with the same name, so it is an 
mutiple checkbox.

<label><input type="checkbox" name="infomaterial" value=" Test1" /> 
Test1</label>
<label><input type="checkbox" name="infomaterial" value=" Test2" /> 
Test2</label>
<label><input type="checkbox" name="infomaterial" value=" Test3" /> 
Test3</label>

Now. How can i used this in Freemarker after the form is send. I have tried:

[#list ctx.infomaterial as x]
${x}
[/#list]

But ctx.infomaterial is only a string with the first clicked checkbox value.
Thanks for your help.




________________________________
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: 
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------



________________________________
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to