web 2.0

ASP Request.Form() - Request Object

ASP Request.Form() - Request Object Gets a collection of variables from method POST.

ShotDev Focus:
- Gets a collection of form method POST.

Syntax


Request.Form(element)

Example

asp_request_form1.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form action="asp_request_form2.asp" method="post" name="form1">
Name
<input name="txtName" type="text">
Site
<input name="txtSite" type="text">
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>

asp_request_form2.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form action="asp_request_form2.asp" method="post"  name="form1">
Name
<input name="txtName" type="text">
Site
<input name="txtSite" type="text">
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_request_form1.asp

Screenshot

ASP & Request.Form()

ASP & Request.Form()

.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

One Response to “ASP Request.Form() - Request Object”

  1. 1mitigation…

Leave a Reply

You must be logged in to post a comment.