Results 1 to 3 of 3

Thread: Form not submitting

  1. #1
    Join Date
    Mar 2010

    Form not submitting


    I have everything set up and the form is perfect and works great...except when I try to submit! I have tried looking at everything and cannot figure out why it is not working. When I click on the "Submit" button the button just disappears and does not submit any data. I tried to run it into a form validator and it still does not work.

    Here is the code..:
    HTML Code:
    <form action="http://www.xyz.com/fmail.php" method="post">
    <table cellspacing="1">
    <td>First Name:<br />
    <input type="text" id="first_name" name="first_name" class="textbox" maxlength="25" /></td>
    <td class="right">Last Name:<br />
    <input type="text" id="last_name" name="last_name" class="textbox" maxlength="25" /></td>
    <td>Email Address:<br />
    <input type="text" id="email" name="email" class="textbox" maxlength="60" /></td>
    <td class="right">Zip Code:<br />
    <input type="text" id="zip_code" name="zip_code" class="textbox" maxlength="5" /></td>
    <td class="phone mul">Primary Phone:<br />
    <input type="text" id="pri_areacode" name="pri_areacode" class="textbox small" maxlength="3" /> - <input type="text" id="pri_prefix" name="pri_prefix" class="textbox small" maxlength="3" /> - <input type="text" id="pri_suffix" name="pri_suffix" class="textbox medium" maxlength="4" /></td>
    <td class="right phone mul">Alternate Phone:<br />
    <input type="text" id="alt_areacode" name="alt_areacode" class="textbox small" maxlength="3" /> - <input type="text" id="alt_prefix" name="alt_prefix" class="textbox small" maxlength="3" /> - <input type="text" id="alt_suffix" name="alt_suffix" class="textbox medium" maxlength="4" /></td>
    <td>Preferred Contact Time:<br />
    <select id="contact_time" name="contact_time" class="c1">
    <option value="select">Select one</option>
    <option value="morning">Morning</option>
    <option value="afternoon">Afternoon</option>
    <option value="evening">Evening</option>
    <td class="right">
    <div id="fb"><input type="checkbox" id="newsletter" name="newsletter" checked="checked" /> Yes! I would like to receive other<br />
    helpful financial tips and <a href="#" title="You will receive our Free&lt;br /&gt;newsletter.&lt;br /&gt;You may cancel at anytime.">offers</a>.</div>
    <td colspan="2" class="center c2">Do you have at least $10,000 in credit card debt? <input type="radio" name="over_ten" value="yes" /> Yes <input type="radio" name="over_ten" value="no" /> No</td>
    <tr class="hideme">
    <td colspan="2" class="center"><a href="#">Unsecured Debt Amount:</a> <select id="debt_amount" name="debt_amount" class="c1">
    <option value="select">Select one</option>
    <option value="1">$10,000-12,499</option>
    <option value="2">$12,500-14,999</option>
    <option value="3">$15,000-17,499</option>
    <option value="4">$17,500-19,999</option>
    <option value="5">$20,000-24,999</option>
    <option value="6">$25,000-29,999</option>
    <option value="7">$30,000-39,999</option>
    <option value="8">$40,000-49,999</option>
    <option value="9">$50,000-74,999</option>
    <option value="10">$75,000-99,999</option>
    <option value="11">$100,000+</option>
    <option value="12">I wish not to disclose</option>
    <tr class="hideme">
    <td colspan="2" class="center">Debt Amount: <select id="debt_amount2" name="debt_amount2" class="c1">
    <option value="select">Select one</option>
    <option value="1">$100-999</option>
    <option value="2">$1,000-1,999</option>
    <option value="3">$2,000-2,999</option>
    <option value="4">$3,000-3,999</option>
    <option value="5">$4,000-4,999</option>
    <option value="6">$5,000-5,999</option>
    <option value="7">$6,000-6,999</option>
    <option value="8">$7,000-7,999</option>
    <option value="9">$8,000-8,999</option>
    <option value="10">$9,000-9,999</option>
    <div id="fbottom"><input type="image" id="submit" src="/xyz/button.gif" /></div>
    Thanks in advance for your help.

  2. #2
    Join Date
    Mar 2012
    Does it work with a normal submit button, rather than an image?

    - If so, the problem is likely to be the input type "image".

    - If not, the problem is likely to be the form action.

  3. #3
    Join Date
    Mar 2010
    Thanks. I will check out your advice and try to diagnose it. I will post back.

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