Solved

Javascript Order Form?

Posted on 2004-03-30
6
1,298 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

747 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

10 Experts available now in Live!

Get 1:1 Help Now