Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#6295 closed defect (fixed)

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 - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

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 (3)

comment:1 Changed 12 years ago by nathan

Resolution: fixed
Status: newclosed

Already fixed in svn.

comment:2 Changed 12 years ago by bill

Component: GeneralDijit

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

comment:3 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.