Skip to main content

Bug Tracker

Side navigation

#3615 closed bug (worksforme)

Opened November 17, 2008 11:05AM UTC

Closed June 10, 2009 09:55AM UTC

Last modified March 14, 2012 11:46PM UTC

Validation plugin does not show errors on form in IE if <button> is used instead of <input type="submit"

Reported by: primski Owned by: joern
Priority: minor Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: validation, plugin, ie Cc: primski
Blocked by: Blocking:

In Internet Explorer, test in v6 and v7, validation plugin does not show errors if form submited is not valid and <button> is used instead of <input type="submit"...




<meta http-equiv="Content-Type" content="text/html; charset=UTF8" />

<script language="javascript" type="text/javascript" src="jquery-1.2.6.min.js"></script>

<script language="javascript" type="text/javascript" src="jquery.validate.js"></script>


$(document).ready(function() {


rules: {

field1: "required"







<form id="theForm" action="" method="GET">

<input type="input" name="field1" />

<button name="save">Save button</button>

<input type="submit" name="save2" />




Clicking on <button> no erorrs show up, although if form is valid it gets submited with no problems.

Clicking on <input type="submit"> everything works as intended.

Attachments (0)
Change History (2)

Changed November 17, 2008 06:01PM UTC by flesler comment:1

cc: → primski
owner: → joern

Changed June 10, 2009 09:55AM UTC by joern comment:2

resolution: → worksforme
status: newclosed

Add type="submit" to your button element.