I wonder if both enctype = "multipart / form-data" and select multiple can be used. Here's an exercise:
I have this html file (test.html):
<form action="action.asp" method="post" enctype="multipart/form-data" name="form1">
<select multiple name="prof">
<option value="1">First</option>
<option value="2">Second</option>
<option value="3">Third</option>
</select>
<input type="submit" value="Ok" name="Ok">
</form>
When I select any of these options in my list, my action page shows nothing (action.asp):
<%
dim prof
prof = request.form("prof")
response.write prof
%>
But if I remove enctype = "multipart / form-data" in test.html then it works.
The problem is that I am using an asp upload component that requires this enctype = "multipart / form-data". Any sugestions?
Thanks in advance.
source
to share