W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] validationMessage

From: Scott González <scott.gonzalez@gmail.com>
Date: Thu, 19 Nov 2009 21:58:46 -0500
Message-ID: <9450c5340911191858y1546b1ebmc4a6372b2430e5ec@mail.gmail.com>
On Thu, Nov 19, 2009 at 7:05 PM, Peter Kasting <pkasting at google.com> wrote:

> * Directing the UA to step into this process and show the user messages
> about the validation failures, which don't take into account context the web
> page has -- bad
>

I agree with this specific case because I would personally always customize
the validation handling. However, following that same logic wouldn't you
come to the conclusion that date inputs should not display calendars because
they need to be localized? I would certainly not expect the average user to
enter a valid date format of YYYY-MM-DD, so not having a calendar would make
validation of dates almost worthless without a calendar. On the other hand,
this is another case where I would most likely use a library like jQuery to
display a calendar anyway to give me more control over the calendar. A bit
off-topic, but they seem to be pretty closely related.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091119/4f8faa79/attachment.htm>
Received on Thursday, 19 November 2009 18:58:46 UTC

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