You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by kidong <Ki...@public.uni-hamburg.de> on 2001/04/20 19:20:57 UTC
select box with multiple options
hello,
it might be not a reference to velocity, but i have problem with
sending data selected with multiple select box.
when i send form data with select box,
i would like to send all the data selected with multiple select box.
here is my code:
...
<form name="form" method="POST"
action="$link.setPage("NewIssueAdded.vm").setAction("NewIssueAdded")">
<table>
...
<tr>
<td>cc: </td>
<td><select name="cc" size="2" multiple>
#foreach ( $user in $users )
<option value="$!user.UserName">$!user.UserName
#end
</select></td>
<td><input type="checkbox" name="check_cc"></td>
<td>send email</td>
</tr>
<tr>
<td><input type="Submit" name="eventSubmit_doAdd" value="
Submit "></td>
</tr>
</table>
</form>
does anybody have an idea?
thanks in advance,
kidong