Need advice on ASP coding?

kaylawishing

New member
I'm trying to create a form that sends the date fields to an ASP page then returns it in graphical form, and creates a copy elsewhere on my server. I'm good with graphical HTML, so I'm not worried about that. My problem is with the ASP, which I don't have experience in.

I'm using "CSE HTML Validator Pro v10 trail" to test my code. I enter the following code (a basic form)

<html>
<head>
</head>
<body>
<form method="get" action="Test.asp">
Name: <input type="text" name="fullname" />
<br>
***Title: <input type="text" name="title" />
<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
<br>
<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>
</body>
</html>

I created an asp file named "test.asp" and put it in my current user temp file. (Temp file is where Validator looks for .asp). If I enter basic HTML in that asp file I will get the return I want. But when I try to enter my ASP string I get the string back in text form instead of the actions taking place. Below is my ASP code.

<%
Dim fullname, title, rating, comments
fullname = Request.QueryString("fullname")
title = Request.QueryString("title")
Rating = Request.QueryString("rating)
comments = Request.QueryString("comments")
Response.Write("Return value " & fullname & "<br />)
Response.Write("Return value " & title & "<br />)
Response.Write("Return value " & Rating & "<br />)
Response.Write("Return value " & comments & "<br />)
%>

I should get a return of the information that I put in. But instead I get the above in text form. Is this Validator's doing? If so how can I get around it? If it's error in my code, what am I doing wrong?

Thanks in advance.
 
Back
Top