View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003119ATutor- no cat -public2007-08-01 10:522009-07-21 08:51
Assigned Toharris 
PlatformOSOS Version
Product Version1.5.5 
Target VersionFixed in Version1.6.2 
Summary0003119: Pressing Enter does not submit the form
DescriptionAfter filling out forms such as Create Category, Add announcement, etc; pressing enter in textboxes does not submit the form. Different browsers react differently to this enter event.

For example, IE7 refreshed the page, while Firefox2 triggerred another button.
TagsNo tags attached.
Affects versionSVN
SVN Revision#
Attached Files

- Relationships

-  Notes
IndieRect (reporter)
2008-11-14 05:21

I noticed a similar thing when creating/editing a course: Enter goes to "Switch to visual editor" button above the banner field. The same seems to be true for announcements.
harris (developer)
2008-11-14 11:16

A form with more than 1 <input type="submit" ..> will cause this problem. The form doesn't know which submit it should triggers, some browsers takes the first one, some just ignores.

To address this, we will have to have only 1 type="submit" input in a single form. The rest can use a javascript to trigger the event.
harris (developer)
2008-11-18 06:33

for some reason...
<input type="button" onclick="this.form.submit()"> does not work
harris (developer)
2008-11-18 06:34

Redeclare the submit button ahead of all input="submit"
harris (developer)
2008-11-18 06:42

Added this under the hidden field of the form to set the input="submit" order.
<input type="submit" name="submit" style="display:none;"/>

Affected Files:


- Issue History
Date Modified Username Field Change
2007-08-01 10:52 harris New Issue
2007-08-01 10:52 harris Affects version => SVN
2008-11-14 05:14 greg Status new => assigned
2008-11-14 05:14 greg Assigned To => harris
2008-11-14 05:21 IndieRect Note Added: 0003343
2008-11-14 11:16 harris Note Added: 0003377
2008-11-18 06:33 harris Note Added: 0003388
2008-11-18 06:34 harris Note Added: 0003389
2008-11-18 06:42 harris Status assigned => resolved
2008-11-18 06:42 harris Fixed in Version => 1.6.2
2008-11-18 06:42 harris Resolution open => fixed
2008-11-18 06:42 harris Note Added: 0003390
2009-07-21 08:51 greg Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker