I need help to return information to email address from item picked on a form. It has to be in html, or it is called echo print, I am a newbee
C# help
Collapse
X
-
You may want to include the code you have started so the moderators have something to work with. When you put your code on the site, useCode:...insert code here....
-
Originally posted by promiscuoustxYou may want to include the code you have started so the moderators have something to work with. When you put your code on the site, useCode:...insert code here....
<html>
<head>
<title>Shortpoc kets Computers and More</title>
</head>
<body>
<h2>Shortpocket s Computers and More</h2>
<%
Response.Write "Hello " + Request.Form("t xtField") + "!<br>"
Response.Write "What products would you like to see more of " + Request.Form("s elField") +"."
%>
<form action="Classic ASP.asp" method="post">
Your First and Last Name:
<input type="text" size="20" name"txtField" value="<%=Reque st.Form("txtFie ld")%>">
<br>Please enter your email address:
<input type="text" size="50" name"txtField" value="<%=Reque st.Form("txtFie ld")%>">
<br>Please pick your product:
<select name="selField" size="1">
<option
<% If Request.Form("s elField") = "Motherboar ds" Then Response.Write( "selected")
%>>
Motherboards</option>
<option
<% If Request.Form("s elField") = "Monitors" Then Response.Write( "selected")
%>>
Monitors</option>
<option
<% If Request.Form("s elField") = "CPU's" Then Response.Write( "selected")
%>>
CPU's</option>
</select>
<br>
<input type="submit" value="Submit"
</form>
</body>
</html>Comment
-
This looks more like designing a web page to me. But, I understand where you are wanting to go with this. Let me see what I can make of this....Comment
-
Are you using Front Page Editor or Dreamweaver or any others??? I highly recommend you look at the website below, because you are trying to write HTML code, but your code is not outputting what you want your users to see.
http://www.webdesignfr omscratch.com/
Look around on this site, and remember to use a basic text editor...such as notepad in Windows. And always remember your tags when coding. One bad tag can result in a major error on your web site. Also remember to keep the site as user friendly as possible. There is no reason to make your users search everywhere for what they are looking for.Comment
-
Originally posted by promiscuoustxAre you using Front Page Editor or Dreamweaver or any others??? I highly recommend you look at the website below, because you are trying to write HTML code, but your code is not outputting what you want your users to see.
http://www.webdesignfr omscratch.com/
Look around on this site, and remember to use a basic text editor...such as notepad in Windows. And always remember your tags when coding. One bad tag can result in a major error on your web site. Also remember to keep the site as user friendly as possible. There is no reason to make your users search everywhere for what they are looking for.
It is C# and all I need to echo print back to the email recpient what they want to see more of. Everything else worksComment
Comment