Duplicate form submit ?

kai920 29 May, 2008
I'm getting double emails / data records stored in the backend. It shows different record ID numbers...

I am using Joomla 1.5. Here is my form code:
<div class="info">
  <h2>Contact Us</h2>
</div>

<ul>
  <li class="" id="fo4li2">
  <label for="First" id="title2" class="desc">
  	Name: <span class="req" id="req_2">*</span>
	</label> 
	<span>
	<input value="" tabindex="1" size="8" class="field text" name="First" id="First"> 
	<label for="First">First</label>
	</span> 
	<span>
	<input value="" tabindex="2" size="14" class="field text" name="Last" id="Last"> 
	<label for="Last">Last</label>
	</span>
	</li>

  <li class="" id="fo4li4">
    <label for="Email" id="title4" class="desc">Email: <span class="req" id=
    "req_4">*</span></label>

    <div>
      <input type="text" value="" maxlength="255" tabindex="3" name="Email"
      class="field text medium" id="Email">
    </div>
  </li>

  <li class="" id="fo4li6">
    <label for="Company" id="title6" class="desc">Company:</label>

    <div>
      <input type="text" value="" maxlength="255" tabindex="4" name="Company"
      class="field text medium" id="Company">
    </div>
  </li>

  <li id="fo4li5" class="">
    <label for="Type" id="title5" class="desc">Inquiry Type: <span class="req"
    id="req_5">*</span></label>

    <div>
      <select tabindex="5" name="Type" id="Type" class="field select medium">
        <option selected="selected" value="Select:">
          Select:
        </option>

        <option value="Business Development/Partnerships">
          Business Development/Partnerships
        </option>

        <option value="Media/Press Related">
          Media/Press Related
        </option>

        <option value="General Question/Feedback">
          General Question/Feedback
        </option>
      </select>
    </div>
  </li>

  <li id="fo4li1" class="">
    <label for="Message" class="desc" id="title1">Message: <span class="req"
    id="req_1">*</span></label>

    <div>
      <textarea tabindex="6" cols="50" rows="10" name="Message" class=
      "field text medium" id="Message"></textarea>
    </div>
  </li>

  <li class="buttons"><input type="submit" value="Submit" tabindex="7" class=
  "btTxt" id="saveForm"></li>
</ul>
GreyHead 29 May, 2008
Hi kai920,

I just ran your HTML though Tidy to make it a bit easier to read. There's nothing obviously wrong here - though the slashes in the select options might cause some problems.

The most obvious causes would be duplicated code in the AutoGenerated box or some kind of loop that is processing the form twice.

I think I recall this happening once before so it might be worth searching the forums for 'duplicate' . . .??

Bob
This topic is locked and no more replies can be posted.