Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6945 closed bug (duplicate)

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="äöüÄÖÜ@({=})&gt;!?%#*-+.,:_" 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>

Change History (3)

comment:1 Changed 9 years ago by xrow

Noticed in Firefox 3.6

comment:2 Changed 9 years ago by xrow

It does work if i rename the submit to

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

comment:3 Changed 9 years ago by dmethvin

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.