jQuery(document).on('change', '#From_Date label.control input', function (event) {
var txtfdate=document.querySelector('#From_Date label.control input ').value;
if(txtfdate.match(/^(19|20)\d\d-(0\d|1[012])-(0\d|1\d|2\d|3[01])$/i)==null){
alert("Enter From_Date in YYYY-MM-DD format only");
return false;
}else{
alert("Correct..."+txtfdate);
}
});