Manuel Moreno Manuel Moreno - 8 months ago 22
HTML Question

HTML type="email" error message language change

How do you change the language of the default error message you get with type="email"?


You can use HTML oninvalid Event Attribute

<input type="email"  required oninvalid="this.setCustomValidity('Por favor, introduce una dirección de correo electrónico válida')"/>
<input type="submit"/>


enter image description here