html5 required custom message
Creating A Custom HTML5 Form Validation Message
Chrome - you can set you input element's title attribute to read "Please enter the valid email format.".
title="Please enter the valid email format."Firefox
x-moz-errormessage="Please enter the valid email format."DEMO
<form class="livedemo"> <input placeholder="Enter your email" id="two" required type="email" title="Please enter the valid email format (e.g. [email protected])" x-moz-errormessage="Please enter the valid email format (e.g. [email protected])" /> <button>submit</button> </form>DEMO
html5 required custom message
Reviewed by Bhaumik Patel
on
8:53 PM
Rating:
![html5 required custom message](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8mhDIiqZ0nR7IfkfS18bPflClxGpkgCinpF-y_LzZKK7olaATKosjSOTzp86-FznQ5fn6nwlHZaxppLKrzC0xL4Ts2vuEJReuA5vImOLJHMuDx-o1TcOSk7iqy6iItBQW_3cNPSOC28y3/s72-c/html5+required+custom+message.png)