Skip to content

submitHandler still get triggered when debug is true #2042

Closed
@howard-repos

Description

@howard-repos

used code bellow in our page,submitHandler still got triggered even if debug is true

$("#commentForm").validate({
	debug: true,
	submitHandler: function () {
		alert("submitted!");
	}
});

jquery-validation-1.16.0
chrome 59.0.3071.115

Steps to reproduce

use attched file to reproduce
debug.zip

Expected behaviour

submitHandler not get triggered

Actual behaviour

submitHandler get triggered

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions