Ticket #6295 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

dijit.form.Form.submit needs to stop the event, not return false

Reported by: nathan Owned by: anonymous
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc:

Description

Related to issue #4205 (see comment 17)

For a test case, you can go to http://download.dojotoolkit.org/current-dev/dojo-release-1.1.0rc1/dijit/tests/form/Form.html and fill out an invalid date, and click on Submit. The validation will fail (it will tell you that the form is invalid) - but the form will submit anyway. There is no way to prevent the original form element from submitting.

Change History

Changed 8 months ago by nathan

  • status changed from new to closed
  • resolution set to fixed

Already fixed in svn.

Changed 8 months ago by bill

  • component changed from General to Dijit

Right, this is a dup of #6280, #6292, and #6299.

Note: See TracTickets for help on using tickets.