Form element reportValidity() ponyfill example

Links: GitHub | NPM | Twitter

Test actions

Use this button to report form validity using reportValidity(), but not submit the form:

Output: false

Use this button to submit the form using a normal submit action: