RE: Annoying
by Klaas De Waele <klaas(at)gracegraphics.be>
|
| Date: |
Fri, 6 Jul 2001 14:11:29 +0200 |
| To: |
"'Larry Coats'" <lcoats(at)gte.net> |
| Cc: |
"'hwg-techniques(at)mail.hwg.org'" <hwg-techniques(at)mail.hwg.org> |
| |
todo: View
Thread,
Original
|
|
Agree totally. Only this one: IE DOES submit the form through a push on
"enter" but only if one of the form elements has focus. So, you will be
required to put focus to a text field/button/checkbox/... and THEN press
enter.
Nevertheless, errorchecking should be done on the FORM sumission even, not
on the submit press event. This to cope with the possibility of a user that
uses the enter button.
- Kayjey -
-----Oorspronkelijk bericht-----
Van: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]Namens Larry Coats
Verzonden: vrijdag 6 juli 2001 13:05
CC: 'hwg-techniques(at)mail.hwg.org'
Onderwerp: Re: Annoying
> At 10:16 AM 7/4/01 +0200, Klaas De Waele wrote:
> >I think this is all a bit bending to the wrong habits of users. Internet
> >users should know that by pressing enter they submit a form, and by
> pressing
> >tab they can cycle through the fields, while when pressing backspace it
> >could very well be they will be taken to a previously visited page.
> >
> >I don't think it's considered our job to break functions.
The thing is, pressing enter doesn't always submit a form.
I've created two very simple forms. One has a single text input field, the
other
has two input fields. If you submit these, they just display a javascript
alert
- nothing is actually submitted - so feel free to try them out. They are at:
http://wolves.dreamhost.com/test.htm
http://wolves.dreamhost.com/test2.htm
In Netscape, only the form with a single text input field can be submitted
by
hitting the enter key, and then only if you've actually typed something into
the
input field. I see that IE handles the one with a single input field the
same
way - the form only submits if you've actually typed something into the
input
field.
When there are two input fields, Netscape never submits the form via the
enter
key. IE does, but only if you've entered some data into at least one of
them.
So the enter key is not consistent from browser to browser anyway - and
possibly
not from platform to platform (don't know about that one).
Larry Coats
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.