With one of my forms I get the error "An invalid form control with name='collectors' is not focusable." and I do understand why, because it's hidden by some JS-lib, and I already know the workarounds for that "problem" propagated. My question is another:
Is that message part of an exception or event I could easily listen to and just do "things" instead? Or is the only thing I could do to override the submit event of the underlying form and check things myself?
I would rather avoid the latter and let browsers do the work, if they can print to the console, there may be a chance that I'm able to intercept the knowledge of the browser somehow and only do something when already known it's needed.
Seems like I'm looking for something like Is there a way in JavaScript to listen console events?, but maybe there's some special event for errors during form validation or such, which is more official and less hacky.