PDA

View Full Version : E-Mail Forms



TrueFangz
04-15-2005, 07:05 AM
Well, I need to learn how to create a form on my website where people can e-mail me. When they click the "Submit" button, I want the page to be re-directed to a confirmation page, and I want the data that they typed in the text boxes to be e-mailed to me.

I do not use Front page, I am currently using Dreamweaver. How do I set this form up? I got everything except getting the Submit button to do what I want it to do.

can someone please help?

Thanx in advance.

mwinter
04-15-2005, 07:11 PM
Well, I need to learn how to create a form on my website where people can e-mail me.You need to use a server-side form processing script. Your host may provide one, but if not there are remotely-hosted services (http://cgi.resourceindex.com/Remotely_Hosted/Form_Processing/) available.

Mike

eddydesigns
08-31-2006, 07:52 PM
Well you don't need server side scripting all the time to process all forms. (depends on the complexity) For simple forms the only code you need to incorporate is...

onClick="document.location("http://www.whateverUrL.com/thanks.html");

Best!

mwinter
08-31-2006, 09:54 PM
Well you don't need server side scripting all the time to process all forms. (depends on the complexity)

In the abstract, the dependency is on the process. For the majority of cases, including that of the OP, it is up to the server to handle the data.



For simple forms the only code you need to incorporate is...

onClick="document.location("http://www.whateverUrL.com/thanks.html");

Pardon? There are four things wrong with that, all of which are "show stoppers".


The location object is not a property of the document object in some browsers. Better support can be found if used as a property of the global object.
The location object is not a function.
Literal double quotes cannot occur within an attribute that uses double quotes as value delimiters.
Assigning a URL to the location object will not do anything with the data the user entered.

Mike