10
With the attribute required
(English), for example in a field of the text
, the browser will present a balloon to the user to realize that this field is required and must be filled.
The problem begins with the message itself that being generic does not help the user. On the other hand, the message concerns the language of the browser and not exactly the language of the application.
<form>
<input type="text" required>
<button type="submit">Enviar</button>
</form>
By clicking "Send" without filling in the field, I will receive the message in Firefox:
Please Fill out this field.
Question
How we can customize the message that the browser presents to a input
with the attribute required
?
The
title
no longer works on Chrome, the response you based on has been updated.– Felipe Augusto