[whatwg] WF2: setCustomValidity()
Ian Hickson
ian at hixie.ch
Tue Aug 15 03:03:04 PDT 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list