0
In the atributte required the text "please fill outfield" that appears is deafult or can you change it?
In the code writen it does not explain that. Can someone pls help :)
2 ответов
+ 3
You can use the oninvalid event to change the message. For example:
<form>
<input id="name" type="text" required="required"
oninvalid="this.setCustomValidity('Some custom text')" />
<input type="submit" name="submit" value="Submit" />
</form>
0
Interesting