I'm using the jquery datepicker and the jquery validation plug-in.
When I leave everything blanc and click the submit button the error message is showing as suspected.
But when I select the date afterwards the error message doesn't disappear.
datepicker
$(function() {
$( "#datepicker" ).datepicker();
});
validation rule
- $('
#datepicker
').validate({
- rules: {
datepicker: {
required: true,
dpDate: true
},
...