Jump to content

[SOLVED] Form not working


Guardian-Mage

Recommended Posts

Ever notice how code that should work doesn't, and it only does that at the worst possible times? I am making a simple XHTML 1.1 Form. My PHP script is getting no data, and Firefox addon "Tamper Data" Does not record any post data being sent on my website, but it does for google, etc. I am using Firefox 3.

 

     <form action="contact.php" method="post" name="main">
            <input type="hidden" id="execute" value="true" />
            <input type="text" id="name" value="Your first and last name" maxlength="120" onfocus="javascript:focusMe('name');" 
            onblur="javascript:blurMe('name');" /><br />
            <input type="text" id="email" value="Your full email" maxlength="120" onfocus="javascript:focusMe('email');" 
            onblur="javascript:blurMe('email');" /><br />
            <input type="text" id="subject" value="Email Subject Here" maxlength="120" onfocus="javascript:focusMe('subject');" 
            onblur="javascript:blurMe('subject');" /><br />
            <textarea id="body" onfocus="javascript:focusMe('body');" onblur="javascript:blurMe('body');" >Email Content Here</textarea>
            <br />
            <input type="submit" value="Send" /><br />
            </form>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.