|
Posted by Wilhelm Kutting on April 6, 2005, 4:08 pm
Please log in for more thread options
Hi,
is there a possibility to use the RETURN for submitting Formdata instead
of pushing the Buttton?
|
|
Posted by kaeli on April 6, 2005, 9:48 am
Please log in for more thread options
enlightened us with...
> Hi,
> is there a possibility to use the RETURN for submitting Formdata instead
> of pushing the Buttton?
>
Yes.
Sometimes browsers do this by themselves, depending on how you designed the
form. If you didn't provide a submit button, but only a regular button, you
have to capture the enter keypress with javascript. Check
comp.lang.javascript archives because this has been discussed to death over
there already.
--
--
~kaeli~
Kill one man and you are a murderer. Kill millions and you
are a conqueror. Kill everyone and you are God.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
|
|
Posted by Safalra on April 7, 2005, 5:58 am
Please log in for more thread options
Wilhelm Kutting wrote:
> is there a possibility to use the RETURN for submitting Formdata
instead
> of pushing the Buttton?
>From a usability perspective, it's better to leave it to the browser,
as users already know what to expect from their own browser and might
be irritated it something changes.
--
Safalra (Stephen Morley)
http://www.safalra.com/hypertext/
|
|
Posted by kaeli on April 7, 2005, 9:50 am
Please log in for more thread options
usenet@safalra.com enlightened us with...
> Wilhelm Kutting wrote:
> > is there a possibility to use the RETURN for submitting Formdata
> instead
> > of pushing the Buttton?
>
> >From a usability perspective, it's better to leave it to the browser,
> as users already know what to expect from their own browser and might
> be irritated it something changes.
As a Firefox user stuck in an IE world, I actually LIKE it when people make
sure the form submits when I hit the enter key. I expect that behavior, but
sometimes people do things that for some reason cause the form to NOT submit
when I hit enter. Such as not using a submit button at all, but just a button
(often b/c there is more than one action one could take or such).
JMHO, YMMV.
--
--
~kaeli~
Quantum Express: When you absolutely, positively, don't
know where it's going or when it needs to be there.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
|
|
Posted by Tim on April 9, 2005, 9:03 am
Please log in for more thread options
On Thu, 07 Apr 2005 04:58:39 -0700, Safalra wrote:
> From a usability perspective, it's better to leave it to the browser,
> as users already know what to expect from their own browser and might be
> irritated it something changes.
I agree. While I prefer it that the enter key only enters data into the
current gadget, rather than submits the whole form, I'm used to what my
software normally does. It's easier if it always works the same way.
What's worse if you try and *make* a form submit when the enter key is
pressed on a system which doesn't normally work that way.
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.
|
| Similar Threads | Posted | | Help with forms. | January 29, 2006, 10:37 pm |
| FOrms | July 10, 2008, 10:05 am |
| Nested forms | August 20, 2004, 9:53 am |
| Forms and encoding | August 21, 2004, 7:35 pm |
| autofill web forms | January 24, 2005, 12:53 pm |
| Use of prefilled forms | February 8, 2005, 8:30 pm |
| WAI Accessibility and Forms | May 4, 2005, 6:33 pm |
| Accessible forms | June 23, 2005, 7:01 am |
| Forms and javascript | March 30, 2006, 7:36 pm |
| Three column forms with CSS | October 23, 2006, 7:29 pm |
|