Site Help!!

Discussion in 'Web Design & Coding' started by stubby711, Feb 19, 2005.

  1. stubby711

    stubby711 Sigh, nooblet $$

    Joined:
    Jan 22, 2005
    Messages:
    82
    Likes Received:
    1
    Location:
    UK
    I have created a form for my website, but I want to put a submit button at the bottom, which, when clicked, emails the results to a specified address. Can you supply the code for this button. I have created the form in Dreamweaver but the button is a problem, I know that this is possible as I used to have an HTML coding book, but I sold it when I got Dreamweaver, silly me!:sigh
     
    stubby711, Feb 19, 2005
    #1
    1. Advertisements

  2. stubby711

    Fenis-Wolf VIP Member

    Joined:
    Apr 30, 2003
    Messages:
    2,951
    Likes Received:
    35
    Location:
    Ann Arbor, Mi
    I usually use MacForm, which I'll attach to this post.
     

    Attached Files:

    Fenis-Wolf, Feb 19, 2005
    #2
    1. Advertisements

  3. stubby711

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    This depends on the type of mail form you're using, but try this:
    HTML:
    <input type="submit" name="Submit" value="Submit" />
     
    James, Feb 20, 2005
    #3
  4. stubby711

    stubby711 Sigh, nooblet $$

    Joined:
    Jan 22, 2005
    Messages:
    82
    Likes Received:
    1
    Location:
    UK
    Basically, what I need, is the piece of script which tells the 'submit' button to, when clicked, email the form results to me. e.g. onclick=mailto:[email protected]

    I am not very good with code! As you can probably tell from my example above
     
    stubby711, Feb 20, 2005
    #4
  5. stubby711

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    I don't believe it's possible to do that. You need a PHP, ASP or CGI based script to do this. What server side scripts do you have available to you?
     
    James, Feb 20, 2005
    #5
  6. stubby711

    D Schrute Assistant Sensei VIP Member

    Joined:
    Aug 31, 2004
    Messages:
    1,201
    Likes Received:
    19
    Location:
    VA & NC
    You need cgi or on action you can do "mailto:[email protected]" but they will have to use a mail client.
     
    D Schrute, Feb 20, 2005
    #6
  7. stubby711

    stubby711 Sigh, nooblet $$

    Joined:
    Jan 22, 2005
    Messages:
    82
    Likes Received:
    1
    Location:
    UK
    Where would be able to get one of these?
     
    stubby711, Feb 21, 2005
    #7
  8. stubby711

    Fenis-Wolf VIP Member

    Joined:
    Apr 30, 2003
    Messages:
    2,951
    Likes Received:
    35
    Location:
    Ann Arbor, Mi
    I posted it above
     
    Fenis-Wolf, Feb 21, 2005
    #8
  9. stubby711

    James Photojournalist

    Joined:
    Dec 24, 2002
    Messages:
    6,662
    Likes Received:
    35
    Again, what server side scripting is available to you?
     
    James, Feb 21, 2005
    #9
  10. stubby711

    jonesjc

    Joined:
    Sep 25, 2004
    Messages:
    27
    Likes Received:
    0
    Location:
    Washington State
    jonesjc, Feb 21, 2005
    #10
  11. stubby711

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    a good site for remote php hosting is
    http://www.cutandpastescripts.com

    they give you the code,and tell you how to use it, they can mail the form results to you, i use it a lot
     
    Nickweb, Feb 22, 2005
    #11
  12. stubby711

    stubby711 Sigh, nooblet $$

    Joined:
    Jan 22, 2005
    Messages:
    82
    Likes Received:
    1
    Location:
    UK
    Thanks Nick, I am using it now.
     
    stubby711, Feb 22, 2005
    #12
  13. stubby711

    Nickweb Resident Filmaker Moderator

    Joined:
    Nov 7, 2003
    Messages:
    2,532
    Likes Received:
    27
    Location:
    North Wales, Britain
    no probs, i've never had any problems with that service, glad i could help
     
    Nickweb, Feb 22, 2005
    #13
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.