HTML-ASP, Form Question?

kaylawishing

New member
I'm working on a simple form. I want a user input to be sent to the sever and forwarded to another page and the user to get the response: "Thank you for your time."

My code for the form itself:
<html>
<body>
<form method="post" action="Testimonials.asp">
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
<br>
<p> Rate your satisfaction with the work. <b> 5 being the highest! </b> </p>

<input type="radio" name="Rating" value="1" /> 1
<input type="radio" name="Rating" value="2" /> 2
<input type="radio" name="Rating" value="3" /> 3
<input type="radio" name="Rating" value="4" /> 4
<input type="radio" name="Rating" value="5" /> 5

<textarea name="comments" cols="50" rows="10" class="html-text-box"></textarea><br><input type="submit" value="Submit" class="html-text-box"><input type="reset" value="Clear" class="html-text-box"></form><p style="font-size:10px;"></p>

</form>
</body>
</html>
---------------------------------------------------------------------------------------
This is the information I want sent to the user
<body>
Thank you for your time
<%response.write(request.form("fname"))
%>
-------------------------------------------------------------------------------------------------------------------
This is the information I want sent to another page
<body>
<%
response.write(request.form("fname"))
response.write(request.form("lname"))
<br>
response.write(request.form("Rating"))
<br>
response.write(request.form("Comments
%>
</body>


How would I merge the last two codes to accomplish my goals? Also If you could double check my form data I would love you for ever. I'm new to HTML.
 
Back
Top