I just tried this and it worked:
oninvalid = "this.setCustomValidity ('')" oninput = "this.setCustomValidity ('')">
I added a space between the two single quotes.
Since I added a boot prompt to my input fields and is required, incorrect input focuses and displays the value of the tooltip.
It was easier than I thought.
source share