Contact form problem.. Followed tutorial but can't get it to work.

Discussion in 'HTML & Website Design' started by Leeny, Aug 11, 2008.

  1. #1
    Leeny, Aug 11, 2008 IP
  2. 50plus

    50plus Guest

    Messages:
    234
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make sure you have the file installed referred to in form action=
    and that the form field names correspond with the names in this file
    and that the email component named in this file is installed on the server.
     
    50plus, Aug 11, 2008 IP
  3. Leeny

    Leeny Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Could you elaborate a bit and dumb it down for someone who has no idea what they're doing? :eek:

    When you say installed on the server, does it just need to be placed in the sa,e folder as my public html files? Or does it need to be "installed" some how?

    The form action= name is the same, so it must be something else I've done.
     
    Leeny, Aug 11, 2008 IP
  4. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #4
    He means also that each input, which should have a name, is the same as the names used in your form-processing-program.

    <input type="text" name="foo" id="bar" value="lalalala">

    that input's information had better be called "foo" in your program.

    Yeah having the program in the same folder as the HTML (or somewhere else but then with an appropriate path to it in the html... so long as the HTML document knows where to go for that program) is the idea. These are the easiest things to start looking for when a form doesn't work. When I can't see images I've placed, first thing I do is check the path, and then the permissions (am I allowed to even see the image, when I do have the right path?).
     
    Stomme poes, Aug 11, 2008 IP
  5. bobbydeo

    bobbydeo Peon

    Messages:
    65
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    remove </form> from the below mentioned place and the form should start working

     
    bobbydeo, Aug 11, 2008 IP
  6. Leeny

    Leeny Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ohh I didn't even see that! I'll give it a go.
     
    Leeny, Aug 11, 2008 IP
  7. Leeny

    Leeny Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Bobby, thank you so much!! It works now, but at the bottom of the email it says "submit: submit" in the body of the email, but I can deal with that I guess, its better then it not working :) So thank you for spotting that :D

    Actually, I have another question.. In that contact form, it goes to a page that says "thank you.." etc.. Can I change that page, to a thank you page of my own to match my site, or remove it all together and just redirect straight to home?
     
    Leeny, Aug 11, 2008 IP
  8. bobbydeo

    bobbydeo Peon

    Messages:
    65
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You are welcome!
     
    bobbydeo, Aug 11, 2008 IP
  9. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #9
    if there's a name on the submit, that might be why submit:submit is showing? I needed someone to explain to me once that everything with a name gets sent to the form... so no names on submits, and a few other things. My best guess.
     
    Stomme poes, Aug 11, 2008 IP
  10. Leeny

    Leeny Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks :) I'll have a look.
     
    Leeny, Aug 11, 2008 IP
  11. bobbydeo

    bobbydeo Peon

    Messages:
    65
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Make a thank you page of your own and redirect it to that page, redirecting to home page would not be a good idea.
     
    bobbydeo, Aug 11, 2008 IP
  12. Leeny

    Leeny Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I ended up doing that earlier, thanks :) Everythings working fine now, thank you both for your help :D
     
    Leeny, Aug 11, 2008 IP