how to trigger native validation bubble/tooltips for form validation using javascript ?

html, javascript

Solution

As said in a comment, you can use the `.reportValidity()` method. It is widely supported except for IE, as usual.

Problem

I have a form with html5 validation ("required", etc.) attributes attached. Is there a way to trigger the appearance of the native validation bubbles/tooltips without simulating "click" on submit buttons of the form ?

Original source

Related problems