1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Forms - submitting

Discussion in 'Software Development' started by cammi, Sep 18, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. cammi

    cammi Thread Starter

    Joined:
    Jan 9, 2003
    Messages:
    560
    Well... i have create one that kind of works. When I was teseting it, I hit the "submit" button, it automatically goes to my e-mail address so I can send the comment. How do I stop it doing this?
     
  2. brendandonhu

    brendandonhu

    Joined:
    Jul 8, 2002
    Messages:
    14,681
    Change the action in the <form> tag to what you want it to do.
     
  3. cammi

    cammi Thread Starter

    Joined:
    Jan 9, 2003
    Messages:
    560
    i meant, what should i change the code to?
     
  4. brendandonhu

    brendandonhu

    Joined:
    Jul 8, 2002
    Messages:
    14,681
    What do you want it to do?
     
  5. cammi

    cammi Thread Starter

    Joined:
    Jan 9, 2003
    Messages:
    560
    i want the feedback to go to an e-mail address... (but i dont want them to have to send it via their e-mail, after pressing submit). or maybe you know of a better way of doing it?
     
  6. brendandonhu

    brendandonhu

    Joined:
    Jul 8, 2002
    Messages:
    14,681
    You need a script to send the email. Does your webhost support a server-side language such as PHP, ASP, CGI, etc?
     
  7. cammi

    cammi Thread Starter

    Joined:
    Jan 9, 2003
    Messages:
    560
    Erm... maybe? probably? I'm using Angelfire to host the site at the moment, but have plans to move it to a proper domain name.
     
  8. brendandonhu

    brendandonhu

    Joined:
    Jul 8, 2002
    Messages:
    14,681
    This is for AngelFire only.
    Create the form in HTML.
    Set the form tag to:
    <FORM ACTION="/cgi-bin/script_library/form_handler_mail" METHOD=POST>
    Use a hidden form field to specify your email addy
    <INPUT TYPE="hidden" NAME="email_to" VALUE="[email protected]">
    and another hidden field to specify where they will be redirected after submitting the form
    <INPUT TYPE="hidden" NAME="end_display" VALUE="http://www.YOURLINK.com">
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/165594

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice