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

Ryosuke Niwa rniwa at webkit.org
Sun Sep 25 09:40:13 PDT 2011


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
differently.

- Ryosuke



More information about the whatwg mailing list