Open Bug 102539 Opened 23 years ago Updated 2 years ago

Ctrl-Enter to submit forms in TEXTAREA

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement

Tracking

()

Future

People

(Reporter: alex, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4+) Gecko/20010926 BuildID: 2001092603 Related to bug 22526 and as a parallel to bug 56696, it would be convenient if Ctrl-Enter could submit a form in a TEXTAREA. Reproducible: Always Steps to Reproduce: 1. Place cursor in "Additional Comments" area 2. Enter some text 3. Hit Ctrl-Enter Actual Results: No submit Expected Results: Form is submitted. As mentioned in bug 20336 and bug 56696, there'd likely need to be a pref for this, such as: ------- Additional Comments From Seth Spitzer 2001-09-30 23:19 ------- (?) Are you sure you are ready to send this message? [ ] Do not show me this dialog box again. [Send] [Cancel]
Adding depends-on: bug 50255, bug 99853.
Depends on: 50255, 99853
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Attached file Testcase (deleted) —
*** Bug 177949 has been marked as a duplicate of this bug. ***
Blocks: 104449
I disagree with this bug. * It is easy to hit Ctrl+Enter accidentally when trying to press Enter. See bug 20336 (where ctrl+enter sends mail message) and bug 177618 (where ctrl+enter prepends "www" and appends "com" to any url). * Submitting a form with a textarea too early is often more dangerous than sending an e-mail too early. Examples of where submitting a form with a textarea early is dangerous are bugzilla, slashdot, and some stores.
I strongly disagree with comment 4 - by that argument we should also remove the ability to submit a form by pressing Enter in a (single-line) textbox or on a checkbox or radio button. Clearly Ctrl+Enter is harder to press accidentally than just Enter.
> Clearly Ctrl+Enter is harder to press accidentally than just Enter. No, that's not clearly true. It's easier to press Ctrl+Enter accidentally *while intentionally pressing Enter* than it is to hit Enter accidentally. And people do press Enter intentionally in textareas.
Assignee: rods → nobody
Status: ASSIGNED → NEW
QA Contact: madhur → layout.form-controls
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: