Hi i have referred this for the dropdown box validation. It's working fine for only one dropdown if i have more than one means it not showing correctly
$(document).ready(function () {
$('.default').dropkick();
$('.example_form').validate({
highlight: function (element, errorClass) {
$(element).siblings('.dk_container').addClass('error');
$('.dk_toggle').css('border', 'none');
},
unhighlight: function(element, errorClass) {
$(element).siblings('.dk_container').removeClass('error');
$('.dk_toggle').css('border', '1px solid #ccc');
}
});
});
Here is a fiddle
how would highlight the error for each field