Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #31850
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Techniques to prevent accidental press of the Enter key that submits a FORM |
| Date | 2016-12-14 13:04 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2269631.Lt9SDvczpP@PointedEars.de> (permalink) |
| References | <28167554-422a-4b89-81e9-071e7475e821@googlegroups.com> <enter-20161214120502@ram.dialup.fu-berlin.de> |
Stefan Ram wrote: > justaguy <lichunshen84@gmail.com> writes: >>Actually it has happened to me several times already (due to >>"fat" figure), accidentally hit the "Enter" key and the FORM >>was submitted. > > This is something the browser manufacturers should have > solved once and for all forms. While I agree for a good user experience that the prevention of user errors is important, this is no trivial issue. What do you suggest they should have done? > You could also submit the form on »Enter«, JFTR: The form is only submitted on pressing the Enter/Return key if there is an *enabled* *submit* button and the element that has the focus is an “input” element with a text type (“text”, “email” etc.) > but make sure there is a »back« button on the next page. This unifies > the best of both worlds: No annoying additional confirmation is > necessary, yet it is possible to go back and continue editing the form > in the case of an accidental key press. The Back button/feature is in the browser’s chrome/shortcuts already. In any case, the Back feature will not undo the submission, and submitting the same form twice could result in a duplicate or an error. So I do not see your point. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Techniques to prevent accidental press of the Enter key that submits a FORM justaguy <lichunshen84@gmail.com> - 2016-12-13 18:48 -0800
Re: Techniques to prevent accidental press of the Enter key that submits a FORM "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-12-14 10:14 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM justaguy <lichunshen84@gmail.com> - 2016-12-14 05:42 -0800
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-14 13:04 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM justaguy <lichunshen84@gmail.com> - 2016-12-14 05:45 -0800
Re: Techniques to prevent accidental press of the Enter key that submits a FORM KnightStalker <7oo7le7roupie@gmail.com> - 2016-12-14 09:33 -0500
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-14 16:19 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Jake Jarvis <pig_in_shoes@yahoo.com> - 2016-12-14 16:42 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-14 18:00 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM KnightStalker <7oo7le7roupie@gmail.com> - 2016-12-14 11:27 -0500
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-14 18:00 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM KnightStalker <7oo7le7roupie@gmail.com> - 2016-12-16 11:03 -0500
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-16 17:54 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM KnightStalker <7oo7le7roupie@gmail.com> - 2017-01-06 15:08 -0500
Re: Techniques to prevent accidental press of the Enter key that submits a FORM justaguy <lichunshen84@gmail.com> - 2016-12-15 14:21 -0800
Re: Techniques to prevent accidental press of the Enter key that submits a FORM KnightStalker <7oo7le7roupie@gmail.com> - 2016-12-16 12:24 -0500
Re: Techniques to prevent accidental press of the Enter key that submits a FORM John Harris <niam@jghnorth.org.uk.invalid> - 2016-12-14 15:07 +0000
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-14 23:31 +0100
Re: Techniques to prevent accidental press of the Enter key that submits a FORM justaguy <lichunshen84@gmail.com> - 2016-12-15 14:15 -0800
Re: Techniques to prevent accidental press of the Enter key that submits a FORM Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-12-17 21:02 +0000
csiph-web