Solved

Javascript Order Form?

Posted on 2004-03-30
6
1,307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

728 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