W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] validationMessage

From: Peter Kasting <pkasting@google.com>
Date: Thu, 11 Feb 2010 22:40:00 -0800
Message-ID: <d62cf1d11002112240v53b6ba6k51c2f76b14caa374@mail.gmail.com>
On Thu, Feb 11, 2010 at 6:39 PM, Ian Hickson <ian at hixie.ch> wrote:

> The relevant use cases that led to this design are:
> 1. Getting validation of forms without scripting, with the UA doing all
>   the UI work.
> 2. Getting validation of forms with the UI designed by the author, but
>   with the actual validation work (including working out what the
>   messages should be) done by the UA.
> 3. Getting validation of forms with the UI completely done by the author,
>   including deciding what the messages should be.

I am explicitly opposed to the UA showing validation messages to the user.
 I do not think HTML5 should attempt to address use cases where the author
wants the UA to show the messages.  I think the design should provide the
author with return values that indicate what the results of validation were
and the author should provide the rest of the UI.  In other words, I am
opposed to trying to solve use cases #1 and #2 above.  Any design that
attempts to solve them is a mistake.  Please remove validationMessage from
the spec.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100211/bb49b661/attachment.htm>
Received on Thursday, 11 February 2010 22:40:00 UTC

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