Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12671 closed defect (duplicate)

Press enter doesn't submit form on IE8, IE9

Reported by: tuanngo Owned by: Douglas Hays
Priority: blocker Milestone: 1.5.2
Component: Dijit - Form Version: 1.6.0
Keywords: IE8 IE9 submit form press enter Cc:
Blocked By: Blocking:

Description

Form (dijit.form.Form) can't submit by pressing enter on IE8, IE9, if form has:

  1. More than one input (e.g. dijit.form.TextBox?).
  2. One submit button (dijit.form.Button).

Please check the attached test file.

It works if 1.form has more than one text input(dijit.form.TextBox?) and native submit button OR 2.only one text input (dijit.form.TextBox?) and submit button (dijit.form.Button).

Information from this link may help: http://www.thefutureoftheweb.com/blog/submit-a-form-in-ie-with-enter. I guess it's because of input dom node of dijit.form.Button is moved out of screen so IE doesn't allow to press enter to submit.

Attachments (1)

test_submitFormByPressEnter-IE-dojo1.6.html (2.0 KB) - added by tuanngo 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by tuanngo

comment:1 Changed 8 years ago by Douglas Hays

Milestone: tbd1.6.1
Resolution: duplicate
Status: newclosed

This looks like a dup of #12331 that's already been fixed in the 1.6 branch at [24234] and trunk at [24235]. At what revision did you test?

comment:2 Changed 8 years ago by tuanngo

Yes, it's fixed with 1.6 branch. I did the test with dojo release 1.6 download version.

comment:3 Changed 8 years ago by Kenneth G. Franqueiro

Milestone: 1.6.11.5.2

Updating milestone to 1.5.2 to reflect inclusion in changeset [26956] for ticket #14199.

Note: See TracTickets for help on using tickets.