checkValidity

open override fun checkValidity(): Boolean(source)

Returns whether a form will validate when it is submitted, without having to submit it.

MDN Reference