<form action="#"> <div class="form-row"> <label for="email">email</label> <input data-errormessage-value-missing="Please enter your email adress." data-errormessage-type-mismatch="Your email is not correct." required="" type="email" id="email" /> </div> <div class="form-row"> <input type="submit" /> </div> </form>
webshim.setOptions('forms', { //show custom styleable validation bubble replaceValidationUI: true, lazyCustomMessages: true }); //start polyfilling webshim.polyfill('forms');