[whatwg] form validation of values that aren't entered by the user
Hallvord R M Steen
hallvors at gmail.com
Thu Jul 6 06:29:17 PDT 2006
On 01/02/06, Hallvord Reiar Michaelsen Steen <hallvord at hallvord.com> wrote:
> I've already brought up this issue because of the kayak.com search
> fields with a maxlength smaller than the length of the strings
> scripts would insert into the input elements.
This problem is more serious than we thought at first. Many ASP.NET
as part of site navigation. The spec as it stands will prevent
navigation on any ASP.NET site combining maxlength and a hint text
longer than it. For example
<input maxlength="5" name="zip" value="Zip code">
prevents navigating costco.com .
Know you're working on web apps mostly these days, Ian, but I hope you
get a chance to rework this before more UAs implement it.
Proposed changes to the spec: under tooLong I suggest this:
" and the control has more than the specified number of code points"
the control's value is not its defaultValue and the control has more
than the specified number of code points
Hallvord R. M. Steen
More information about the whatwg