setCustomValidity

The setCustomValidity() method of the HTMLFieldSetElement interface sets the custom validity message for the

element. Use the empty string to indicate that the element does not have a custom validity error.

MDN Reference