Solved

Javascript Order Form?

Posted on 2004-03-30
6
1,299 Views
Last Modified: 2007-12-19
I need to create an order form for my page. A form where the user can enter information and can be submitted to an e-mail address. Something easy to install and add to. I was hoping it could be Javascript but can be something else. If someone could please provide me with a link to a good form.

Thanks
0
Comment
Question by:Tutalian
  • 3
  • 2
6 Comments
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10724063
here is an order form
http://www.irt.org/instant/chapter8/sales/index.htm

here is some ways to email (however emailing should be done via server side language such as perl/cgi, asp, php, jsp)

http://www.irt.org/instant/chapter8/mailto/multiple.htm

http://www.irt.org/instant/chapter8/mailto/simple.htm

0
 

Author Comment

by:Tutalian
ID: 10727309
Sorry...I wasn't being specific enough. I need an order form where the user can enter (type info into fields) information. THen submit, sending to one of my e-mail addresses). I don't really care what language it's written in, as long as it has easy implementation.

eg.

First Name: _____________
Last Name: _____________
Manufacturer: _____________
Item Number: _____________

Submit
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10727372
What language does your server support?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Tutalian
ID: 10727879
Perl/cgi, PHP, ASP
0
 

Accepted Solution

by:
dlzone earned 200 total points
ID: 10730407
==Main.asp==
<html>
<body>
<form action = "sendmail.asp" method = "post">
First Name : <input type = "text" name = "first">
Last Name : <input type = "text" name = "last">
Manufacturer : <input type = "text" name = "manu">
Item Number : <input type = "text" name = "item">
<input type = "sumit">
</form>
</body>
</html>


==sendmail.asp==
<%
strFirstName = Trim(Request.Form("first"))
strLastName = Trim(Request.Form("last"))
strManufacturer = Trim(Request.Form("manu"))
strItem = Trim(Request.Form("item"))

set mymail = server.createobject("CDONTS.NewMail")
mymail.from = "xxx@yyy.com"
mymail.to = "xxx@yyy.com"
mymail.cc = "xxx@yyy.com"
mymail.subject = "Info from form"

mymail.bodyformat = 0
mymail.mailformat = 0
mymail.body = strFirstName & " " & strLastName & " " & strManufacturer & " " & strItem
mymail.send
set mymail = nothing

%>


Format the mail body whatever way you want.
0
 

Author Comment

by:Tutalian
ID: 10973575
I also want to add popups to this form. Is this possible? Also, how do I set up the submit button once I have all the information in the form?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS Scroll Issue 3 87
window.setInterval not firing 7 29
Regular Expression Calculator Tester 2 57
How to set a countdown by not using the PC time in PHP 36 44
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now