Change default message of a field type=’email’ required


If you are filling in a form, with an input type email, and you need to change the default HTML5 message:

you will need a bit of javascript, as follows:

HTML:

JS: