Results 1 to 2 of 2

Thread: Need Help With Form Coding-Data not submitting

  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help With Form Coding-Data not submitting

    Below is the current code for my form. The form is getting to my email address when someone submits it, but it is coming in with no data. Here is the email I am getting:

    "subject: Submission
    -----
    This e-mail was generated from a form submission on your website."

    Here is the code im using: Any help would be greatly appreciated!

    Thanks

    <form action="/webformmailer.php" id="contact" method="post">

    <input type="hidden" name="subject" value="Submission" />
    <input type="hidden" name="redirect" value="index.html" /> <fieldset>
    <div class="rowElem"><input type="text" value="Your Name" onBlur="if(this.value=='') this.value='Your Name'" onFocus="if(this.value =='Your Name' ) this.value=''" /></div>
    <div class="rowElem"><input type="text" value="phone" onBlur="if(this.value=='') this.value='phone'" onFocus="if(this.value ='phone' ) this.value=''" /></div>
    <div class="rowElem"><input type="email" value="E-mail" onBlur="if(this.value=='') this.value='E-mail'" onFocus="if(this.value =='E-mail' ) this.value=''" /></div>
    <div class="rowElem5"><textarea rows="40" cols="30" onBlur="if(this.value=='') this.value='MESSAGE'" onFocus="if(this.value =='MESSAGE' ) this.value=''" >MESSAGE</textarea></div>
    <div class="container"><div class=" fright">
    <a href="#" onClick="document.getElementById('contact').reset()" class="button">clear</a>
    <div class="indent-2"><a href="#" onClick="document.getElementById('contact').submit()"class="button">send</a></div>
    </div></div>

    </fieldset>
    </form>

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Need your php code.
    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

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