W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] HTMLForms: Implicit Submission with {display:none} button

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Sun, 25 Sep 2011 09:40:13 -0700
Message-ID: <CABNRm60eDML=Cnx1wvdmqVQbDU=v1w0bD2vrx2_J6XosS5KpmA@mail.gmail.com>
On Sat, Sep 24, 2011 at 11:06 PM, Kaustubh Atrawalkar <kaustubh at motorola.com
> wrote:
> My perspective would be absence of submit button (with either
> visibility:hidden OR display:none) would give user to create more enhanced
> pages that will allow implicit submission like just username & password hit
> enter and done and not having mandatory for Sign In button. (just a use
> case)

Authors can already do this by injecting script although I'd argue that such
an UI is not "enhanced" at all because users may not know pressing enter
result in form submission.

I personally find implicit form submission to be annoying, and always wished
I could disable it (also backspace triggering backward navigation).

Another outlier: Android's WebKit, at least in 2.3.5, seems to always allow
>> user submit when editing a text input, via the "Go" button in the input
>> method, regardless of any submit buttons or their state.
> Yes, this reminds me more use case for tablets/mobiles where use need to
> scroll the page and click on the Submit button instead he can just use the
> Go button on the input may be.

This seems like a great example for why each platform/UA wants to behave

- Ryosuke
Received on Sunday, 25 September 2011 09:40:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC