Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

html form pattern message

input.oninvalid = function(event) {
    event.target.setCustomValidity('Username should only contain lowercase letters. e.g. john');
}
Source by webdesign.tutsplus.com #
 
PREVIOUS NEXT
Tagged: #html #form #pattern #message
ADD COMMENT
Topic
Name
9+8 =