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

[whatwg] WF2: setCustomValidity()

From: Sean Hogan <shogun70@westnet.com.au>
Date: Fri, 12 May 2006 10:36:00 +1000
Message-ID: <4463D870.1000909@westnet.com.au>
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? 

Received on Thursday, 11 May 2006 17:36:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC