[Help] [html/asp] form isn't working D:

Status
Not open for further replies.

Macemore

Circumcised pineapples
Aug 26, 2011
1,681
819
Well I set up this form on my website just to have some fun with it. and realized i couldn't get it to work
Here's the code:
This is the input area of the form, entering a password [doesn't lead you to a members area/store password]
HTML:
<form method="post" action="form.html">
Password: <input type="password" name="pwd" /><br />
<input type="submit" value="Submit" />
Here's the form.html code:
HTML:
<body>
Entering password:
<%
response.write(request.form("pwd"))
%>
</body>

In the form.html it just shows
Code:
Entering password: <% response.write(request.form("pwd")) %>
Any help on this?
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
The reason why it outputs the exact content, is because you saved form.html as a HTML file. Since you are using ASP you need to save it as an .aspx filetype.

EDIT:
And for the right development environment I recommend using either Visual Studio (not free) or Visual Web Developer.
 
Status
Not open for further replies.

Users who are viewing this thread

Top