Ticket #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 | 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
Note: See
TracTickets for help on using
tickets.