You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Leander Jedamus <je...@Fh-Worms.DE> on 2001/07/12 09:21:09 UTC

multiple checkboxes

Hi!

I have one problem I cannot solve on my own.
I have an not known number of answers with answer-ids in my database.
Now I want to create a Form to reflect that.
How do I manage an array of checkboxes?
What do I have to do to get the following HTML-code?:
<input type="checkbox" name="aids" value="4">Text
<input type="checkbox" name="aids" value="2" checked>Text2

Thanks in advance
Leander
-- 
Dipl.-Inf. (FH) Leander Jedamus
Presse- und Öffentlichkeitsarbeit
Fachhochschule Worms, Erenburgerstr. 19, 67549 Worms, Tel.: 06241
509-169
mailto:presse@fh-worms.de