Help with creating a simple form web page |
Help with creating a simple form web page |
Ougan |
Jun 11 2012, 09:38 AM
Post
#1
|
Group: Members Posts: 3 Joined: 11-June 12 Member No.: 17,252 |
Im new here, and Im sorry if topics like this exsist eslewhere, but i could not find any in a search, and Im finding myself in need of help. Im a fairly novice coder in all respects, but have found myself in need of help.
Ive been tasked with making a simple web page, one that will allow users to fill out a simple form for a shortage and overage in supplies. The form is supposed to submit to a specific email address with all of the information in the email body. Ive thus far managed to have it send on my co workers account, but the email body it blank. Worse still on my own account rather than sending when I click submit all it will do is show the code for the ASP file. I really need help getting this form to properly submit but I cant find any examples to follow elsewhere. Ive attached the files, without any pertinent information of the company. If somone could help me I would be very greatfull any help would be good at this point EDIT: heres the code to the asp attachment, didnt notice it hasn't uploaded <% 'Sends an email Dim mail Set mail = Server.CreateObject("CDO.Message") mail.To = "" mail.From = Request.Form("From") mail.Subject = "Framing S&O Report" mail.TextBody = Request.Form("finalMessage") mail.Send() Response.Write("Mail Sent!") 'Destroy the mail object! Set mail = nothing %> This post has been edited by Ougan: Jun 11 2012, 10:22 AM Attached File(s) webpageDesign.html ( 7.36k ) Number of downloads: 190 |
Lo-Fi Version | Time is now: 19th April 2024 - 02:48 PM |