Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

input show validation message

// Validate emai

var applicationForm = document.getElementById("applicationForm");    
if (applicationForm.checkValidity()) {
  applicationForm.submit();
} else {
  applicationForm.reportValidity();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #show #validation #message
ADD COMMENT
Topic
Name
4+1 =