HTML --> ASP troubles

Associate
Joined
28 Aug 2010
Posts
67
Hey everyone, I have a school project due, I've done it all, but there's one part that's giving me trouble.

I need to create a ticket conformation page, once the 'confirm' button is pressed, a new window should open with all the details that the customer has entered on the page. However, I cannot get it to work, and I cannot find any help, anything I do try doesn't work.

Here's the HTML that I am using:
Code:
<html>
<form method="post" action="simpleform.asp">
First Name: <input type="text" name="fname" /><br />
Last Name: <input type="text" name="lname" /><br /><br />
<input type="submit" value="Submit" />
</form>
</html>

And here's the ASP, that I am using:
Code:
<body>
Welcome
<%
response.write(request.form("fname"))
response.write(" " & request.form("lname"))
%>
</body>

I am completely stuck, I've been trying on and off for weeks and I can't figure it. Is there anyone that could help me out, and point me in the correct direction?

Thanks,
Nick
 
Last edited:
I've just tried that, the actual code appears on the destination page. The address in the URL bar is C:/Nick/Desktop/simpleform.asp. Exactly what it should be. I just don't get why it's not working :/

Nick
 
Thanks, I thought it would have to be. unfortunately, I no longer have a webhost. Is there any chance I could do it in Javascript?
 
I am on W7 Ultimate, but it needs to be able to run at School, which runs XP, but students only get limited useage of the system, and I am 99% sure I won't have access to the IIS server. I shall check with my teacher in the morning as to where I go from here.

Thanks guys,
Nick
 
Back
Top Bottom