How do you post information from a form on to a new page?

admin

Administrator
Staff member
Hey, I am using ASP and just started to learn yesterday. what i to do is when you hit submit. it will load a new page and post the information that you entered. here is script i currently use that i made. and it post's under the form but i want it to post on a new page.. so how do i do this?

<html>
<body>
<body bgcolor="#3366CC">
<form action="demo_simpleform.asp" method="post">
<h3><font size "2" color="#33CC00"> Fallen Leaves RO Forum Support</h3>
<font size "1" color="#FFFFFF">
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=" ">Please select a option below</option>"selected="selected"
<option value="Donation Error/Problem">Donation</option>
<option value="Missing Item/Items">Missing items</option>
<option value="Ingame Bugs" >Ingame Bugs</option>
<option value="Abuse from players/gm">Abuse</option>
<option value="Other Problems">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>
<font size "2" color="#CCFFFF">
<br>
<input type="submit" value="Submit" />
<input type="reset" value="Reset">
<br>
</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 problem
problem=Request.Form("problem")
If problem<>"" Then
Response.Write("" & problem & "<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>

here is a example on a web site.

<!-- m --><a class="postlink" href="http://free.7host07.com/irjason/example.aspnever">http://free.7host07.com/irjason/example.aspnever</a><!-- m --> mind i got it ! woot =]great job! It is always good when people are able to do things they thought were impossible.
 
Back
Top