Skip to main content

Bug Tracker

Side navigation

#6945 closed bug (duplicate)

Opened August 25, 2010 04:22PM UTC

Closed August 26, 2010 01:08AM UTC

Form doesn`t submit if it includes a input wiht name submit

Reported by: xrow Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

exmaple

<button id="passwordbutton">test</button>

<script type="text/javascript">

$("#passwordbutton").click(function(event){

$('#passwordform').submit();

});

</script>

<form id="passwordform" class="password" action="http://www.gaijin.at/olspwgen.php" method="post">

<input name="ptype" value="OLD" checked="checked" type="radio">

<input name="poldfupper" value="1" checked="checked" type="checkbox">

<input name="poldflower" value="1" type="checkbox">

<input name="poldfnum" value="1" type="checkbox">

<input name="poldfnul" value="1" type="checkbox">

<input name="poldfspc" value="1" type="checkbox">

<input name="poldupper" value="1" checked="checked" type="checkbox">

<input name="poldlower" value="1" checked="checked" type="checkbox">

<input name="poldnum" value="1" checked="checked" type="checkbox">

<input name="poldnul" value="1" checked="checked" type="checkbox">

<input name="poldspc" value="1" checked="checked" type="checkbox">

<input name="poldlupper" value="1" type="checkbox">

<input name="poldllower" value="1" type="checkbox">

<input name="poldlnum" value="1" checked="checked" type="checkbox">

<input name="poldlnul" value="1" checked="checked" type="checkbox">

<input name="poldlspc" value="1" type="checkbox">

<input name="poldspchr" size="50" maxlength="128" value="äöüÄÖÜ@({[/=]})>!?%#*-+.,:_" type="text">

<input name="poldlen" size="3" maxlength="3" value="8" type="text">

<select name="pcount" size="1">

<option value="1">1</option>

<option value="3">3</option>

<option value="8" selected="selected">8</option>

<option value="10">10</option>

<option value="25">25</option>

<option value="50">50</option>

<option value="100">100</option>

</select>

<input name="submit" value="Passwörter erstellen" type="submit" />

<input value="1" name="psend" type="hidden" />

</form>

Attachments (0)
Change History (3)

Changed August 25, 2010 04:22PM UTC by xrow comment:1

Noticed in Firefox 3.6

Changed August 25, 2010 04:23PM UTC by xrow comment:2

It does work if i rename the submit to

<input name="submit123123123" value="Passwörter erstellen" type="submit" />

Changed August 26, 2010 01:08AM UTC by dmethvin comment:3

resolution: → duplicate
status: newclosed