www.webdeveloper.com
Results 1 to 3 of 3

Thread: Form Mail to not working

  1. #1
    Join Date
    Feb 2004
    Location
    PA
    Posts
    3

    Form Mail to not working

    We are trying to impliment a simple form got it and it looks fine http://www.superdairyboy.com/CDrequestform.html the problem is when we receive the E-mail with the info we only get the First Line. "Name" along with what ever was inputed. Why are we not getting the entire form?

    Here is the Html:

    <form method="post" action="mailto:Brian@Superdairyboy.com">

    <pre>Name:<input type="text" name="NAME" size="30"><br>Adress 1:<input
    type="text" adress="" 1="Adress 1" size="30"><br>Adress 2:<input
    type="text" adress="" 2="Adress 2" size="30"><br>City:<input
    type="text" city="City" size="30">State:<input type="text"
    state="State" size="2">Zip Code: <input type="text" zip=""
    code="Zip Code" size="5"><br><br><input type="submit"><input
    type="submit" name="Redirect" value="Go to Index.html"> </pre>
    </form>



    Thanks
    Brian
    Attached Images Attached Images
    Superdairyboy
    Great Toys
    &
    Extreme Sporrts

  2. #2
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    This may just be me being silly, but what exactly is this (red highlighted)?
    Code:
    <form method="post" action="mailto:Brian@Superdairyboy.com">
    
    <pre>Name:<input type="text" name="NAME" size="30"><br>Adress 1:<input
    type="text" adress="" 1="Adress 1" size="30"><br>Adress 2:<input
    type="text" adress="" 2="Adress 2" size="30"><br>City:<input
    type="text" city="City" size="30">State:<input type="text"
    state="State" size="2">Zip Code: <input type="text" zip=""
    code="Zip Code" size="5"><br><br><input type="submit"><input
    type="submit" name="Redirect" value="Go to Index.html"> </pre>
    </form>
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  3. #3
    Join Date
    Jul 2003
    Location
    Boston Area, Massachusetts
    Posts
    3,489
    As Paul has already implied, unless you have a custom DOCTYPE (DTD; Document Type Definition), those attirbutes are not recognized and thus not considered valid. Moreover, I would not recommend creating the form like that. If available, you should use a server-side language (e.g., PHP, Perl, etc.) for this. Why? Because not everyone has a mail client installed, and even if they do, it might be rather annoying for them to have to configure it just to e-mail you — doing this entirely on the server makes it so it is completely transparent to the user. If you do have server-side scripting available, in this case, PHP, I would recommend you check out Ryan's script and continue from there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles