•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 375,238 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,128 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 5281 | Replies: 9
I am new to this site but, I need help figuring out this simple form that is suppose to send the data to our school's server. The first one is my html form and the second is the asp file. I don't know how to get the simple form in my html file to display whatever is put in the text boxes. Thanks for any help.
I used response.write for the first asp page i did. But this is different with a form. Our book is beginning asp 3.0 by wrox publisher.
ok this is my html file
<html>
<head>
<title>asp form</title>
</head>
<body>
<center><h1><font color="3444FF">Please enter your contact information below</h1></center></font><br>
<form action="3b-formdata.asp" method=post>
<center><table border="5" bgcolor="99CCFF"></center>
<tr>
<td align="left"<p> Please enter your full name:</p>
<input type="text" name="fullname" size="25" maxlength = "50"></td>
</tr>
<br>
<tr>
<td align="left" <p> Please enter address:</p>
<input type="text" name="address" size="25" maxlength = "50"></td>
</tr>
<br>
<td align="left" <p> Please enter your city,state and zip.</p><input type="text" name="citystatezip" size="25" maxlength="75"></td><br>
</tr>
<tr>
<td align-"left" <p> Please enter your phone number with area code.</p> <input type="text" name="phone" size="25" maxlength="15"></td></tr>
<br>
<tr>
<td align="center"
<p><input type="submit" value="Submit contact information here"><br>
</table>
</form>
</body>
This is the asp file to go with that.
<html>
<head>
<title> asp page</title>
</head>
<body>
<h1> Here is your contact information</h1>
<%
Dim strfullname
strfullname = Request.Form("fullname")
%><br />
<%
Dim straddress
straddress = Request.Form("address")
%><br />
<%
Dim strcitystatezip
strcitystatezip = Request.Form("citystatezip")
%><br />
<%
Dim strphone
strphone = Request.Form("phone")
%><br />
</body>
</html>
I AM NOT SURE HOW TO MAKE THIS SIMPLE FORM DISPLAY IN THE BROWSER WHEN I SEND IT TO THE SERVER. I ONLY SEE THE HEADING AND NOTHING ELSE.
PLEASE HELP ME.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
- Previous Thread: cdo using combo box in my form
- Next Thread: login with cookie



Threaded Mode