Building asp form

Reply

Join Date: Jan 2009
Posts: 2
Reputation: enoch365 is an unknown quantity at this point 
Solved Threads: 0
enoch365 enoch365 is offline Offline
Newbie Poster

Re: asp form problem

 
0
  #1
Jan 24th, 2009
Hi I am just a student doing survey
about Employers helping empolyees
with their housing during this recession
and I need helps to make this ASP form....


anyone willing & able to help me out?
===========================================
My -survey.html- File for getting the info
===========================================
  1. <html><head><title>Survey</title></head>
  2. <body><form method=post action="sProcess.asp">
  3. <pre><input type="radio" name="Status" value="HR Manager">I am an HR Manager
  4. <input type="radio" name="Status" value="Untitled Hiring Manager">I am an Untitled Hiring Manager
  5.  
  6. FIRST name <input type="text" 1stname="name" size="20" name="FirstName">
  7.  
  8. <textarea name="SayAnyThing" rows=5 cols=40 wrap></textarea>
  9. <input type="submit" value="submit my survey"><input type="reset" value="Start Over"></pre>
  10. </form></body>
  11. </html>
====================================================================
my -- sProcess.asp- file for processing & sending my survey
====================================================================
  1. <html><head><title>sprocess</title></head>
  2. <body>
  3. <%
  4. '=== BEGIN send survey
  5. Set ObjMsg = Server.CreateObject("CDONTS.NewMail")
  6. ObjMsg.From = "WebMaster@JeanBiz.info"
  7. ObjMsg.To = "ComfortedAlways@aol.com"
  8.  
  9. ObjMsg.Subject = "Survey"
  10. ObjMsg.Body = "Survey"&vbCrlf&_
  11. "==========================================="&vbCrlf&_
  12. "status = " &rtrim(Request.Form("Status""))"&vbCrlf&_
  13. "first name = " &rtrim(Request.Form("FirstName""))"&vbCrlf&_
  14. "say any thing = " &rtrim(Request.Form("SayAnyThing""))
  15.  
  16. ObjMsg.Importance = 1
  17. ObjMsg.Send
  18. Set ObjMsg = Nothing
  19. '=== END send survey
  20. Response.Write "Thanks for answering this survey<br>"&_
  21. %>
  22. </body>
  23. </html>
  24.  
Last edited by peter_budo; Jan 25th, 2009 at 4:26 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC