W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] form validation of values that aren't entered by the user

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 14 Aug 2006 23:55:29 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608142352510.5340@dhalsim.dreamhost.com>
On Wed, 1 Feb 2006, Hallvord Reiar Michaelsen Steen wrote:
>
> I suggest that 
> 1) willValidate should exclude readonly controls. Nothing the user 
> can do about those anyway.

Ok. Changed.


> 2) We should ignore maxlength errors for default values. Something 
> like the following pseudokode:
> 
> if current value length > maxlength
>     if current value != default value
>     // user changed text not according to restrictions
>    show validation error messag
> else// assuming author error. ignore. and submit form anyway

Done.

Thanks for your feedback.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 14 August 2006 16:55:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC