Date: Mon, 1 Nov 2010 11:14:23 +0200 From: timeless <[email protected]> To: [email protected] Cc: "TAMURA, Kent" <[email protected]>, whatwg <[email protected]> Subject: Re: [whatwg] <input type=number> without keyboard editing Message-ID: <[email protected]> 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.
