Results 1 to 4 of 4

Thread: E-Mail Forms

  1. #1
    Join Date
    Apr 2005
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool E-Mail Forms

    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.

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by TrueFangz
    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 available.

    Mike

  3. #3
    Join Date
    Aug 2006
    Location
    Peninsula, Bay area
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow

    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!

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by eddydesigns
    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".

    1. 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.
    2. The location object is not a function.
    3. Literal double quotes cannot occur within an attribute that uses double quotes as value delimiters.
    4. Assigning a URL to the location object will not do anything with the data the user entered.

    Mike

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •