[whatwg] whatwg Digest, Vol 80, Issue 1

Date: Mon, 1 Nov 2010 11:14:23 +0200
From: timeless <timeless@gmail.com>
To: ash at ashleysheridan.co.uk
Cc: "TAMURA, Kent" <tkent at chromium.org>, whatwg <whatwg at whatwg.org>
Subject: Re: [whatwg] <input type=number> without keyboard editing
Message-ID:
       <AANLkTinhyD=6ME7A1wxvfR_yOi2gyf8Knyy2AfJyuGeS at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
>
>Ashley wrote:
>> set one in onchange
>>
>> That's a javascript event, and shouldn't be relied upon for this sort of
thing really.
>
>And my useragent is allowed to send arbitrary data to your server. you
>*must* deal with it.

Anyway, older user agents will fall back to type="text", which won't have
any restrictions. For edge cases just use JavaScript with server-side
validation, you shouldn't and couldn't rely on HTML5 validation alone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101102/20b12d2e/attachment-0001.htm>

Received on Tuesday, 2 November 2010 01:28:52 UTC