Drop down menn posting data?

ok i been learning some ASP along side HTML and CSS and i was trying to understand how you could post data from a drop down menu. this is what i have tryed but it wont post the information for me =[ And also how would i make it so it would post this information on to another page..?


<html>
<body>
<form action="demo_simpleform.asp" method="post">
<h3>Fallen Leaves RO Forum Support</h3>
Name:<br>
<input type="text" name="rlname" size="20" />
<br>
Ingame Name:<br>
<input type="text" name="igname" size="20">
<br>
Email Adress:
<br>
<input type="text" name="mail" size="20">
<br>
What do you need help with?
<br>
<select name="Problem">
<option value="option">Please select a option below</option>"selected="selected"
<option value="donation">Donation</option>
<option value="missingi">Missing items</option>
<option value="ingame" >Ingame Bugs</option>
<option value="abuse">Abuse</option>
<option value="other">Other</option>
</select>
<br>
Subject:
<br>
<input type="text" name="comment" size="100">
<br>
Please explain your problem and enter your questions here:
<br>
<textarea rows="20" cols="100" input type="text" name="question"> </textarea>
<br>
<br>
<input type="submit" value="Submit" />
<input type="reset" value="Reset">

</form>



<%
dim rlname
rlname=Request.Form("rlname")
If rlname<>"" Then
Response.Write("Real Life Name: " & rlname & "<br />")
End If

dim igname
igname=Request.Form("igname")
If igname<>"" Then
Response.Write("ingame name: " & igname & "<br />")
End If

dim mail
mail=Request.Form("mail")
If mail<>"" Then
Response.Write("Email Adress: " & mail & "<br />")
End If

dim donation
donation=Request.Form("donation")
If donation<>"" Then
Response.Write("" & donation & "<br />")
End If

dim missingi
missingi=Request.Form("missingi")
If missingi<>"" Then
Response.Write("" & missingi & "<br />")
End If

dim ingame
ingame=Request.Form("ingame")
If ingame<>"" Then
Response.Write("" & ingame & "<br />")
End If

dim abuse
abuse=Request.Form("abuse")
If abuse<>"" Then
Response.Write("" & abuse & "<br />")
End If

dim other
other=Request.Form("other")
If other<>"" Then
Response.Write("" & other & "<br />")
End If

dim comment
comment=Request.Form("comment")
If comment<>"" Then
Response.Write("Subject: " & comment & "<br />")
End If

dim question
question=Request.Form("question")
If question<>"" Then
Response.Write("<br />" & question & "<br />")
End If
%>



</body>
</html>

example

<!-- m --><a class="postlink" href="http://free.7host07.com/irjason/demo_simpleform.aspTo">http://free.7host07.com/irjason/demo_simpleform.aspTo</a><!-- m --> post drop down control is the same with other controls. You just need to request.form("problem") to get the value from the form.Awh thanks..and now i feel stupid not to of noticed that one!
 
Back
Top