[development] Form API and enter key press
Pierre Rineau.
pierre.rineau at makina-corpus.com
Tue Mar 9 08:03:53 UTC 2010
On Mon, 2010-03-08 at 14:30 -0500, andrew morton wrote:
> I used to think it was pretty annoying that WebKit based browsers
> didn't submit on enter. After using Chrome for a bit and no longer
> having problems with things like Views filters inadvertently becoming
> exposed I think it's the correct decision.
>
> andrew
Maybe you're right, but whoever is right, I never, never use keyboard
shortcuts on a such complex UI than Views UI, too dangerous.
So if you're right, to ensure the enter key behavior on all browsers
catching the key event seems to be the only one solution that can really
works.
My first idea was to force the browser to submit the right button when
it submits the form using the enter key to ensure that end user won't be
surprised. But it wasn't about forcing the enter key press event to
submit, this is two different statements.
Any idea's still welcome.
Pierre.
More information about the development
mailing list