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: