[whatwg] form validation of values that aren't entered by the user
Ian Hickson
ian at hixie.ch
Mon Aug 14 16:55:29 PDT 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list