Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form problems! Help pleaseee

    Okay, I just tested out my forms not to long ago. It sent it and all but it came up with a message in my inbox that said "Error Reading Message or message with NULL body!!" I've included the code below. Maybe I just have something completely wrong, please help!


    <form name="myform" action="mailto:Kat@wadejrobson.net" method="post"> <input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="name :" size="30">
    <input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="http://" size="30">
    <input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="hometown :" size="30">
    <textarea style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" cols="30" rows="5">message, etc. :</textarea>

    <input type="submit" name="submit" style="color: #000000; font: 10px Verdana; border:1pt solid; background: transparent; color:#000000;" value="dance this way"></form>
    wjro

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Well, for beginners, about 75% of that code can be eliminated via a css class. Using mailto: invites spam-bots to send you not just a little mail...but TONS. An alternative is a remotely hosted form such as the free one @ Bravenet.com
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    New Coder
    Join Date
    Jul 2002
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    man zoobie why havent i thought of that, thats why im getting about 200 emails a day...
    :@

    anyways thanks for that, damn it was so simple lol :-)

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts
    lilrobson

    Try with the 'enctype' inserted in there...

    <form method="post" enctype="multipart/form-data" ....


  •  

    Posting Permissions

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