[whatwg] WF2: setCustomValidity()

On Fri, 12 May 2006, Sean Hogan wrote:
>
> A question about the setCustomValidity method:
> The spec states:
> 
>    "If the method's argument is |null| or the empty string, then the
>    flag is reset (indicating that the control is valid)"
> 
> Does this mean that setCustomValidity(null) will always set "validity.valid"
> to "true"? Will it reset all the other validity error-codes to false? Or does
> customError over-ride all the other errors? 

It will only affect the custom validity state. I've clarified the spec. 
Thanks for your input!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 15 August 2006 03:03:04 UTC