selectpicker jquery validation code example
Example: unobtrusive validation on selectpicker
$(function() {
if ($(".selectpicker")[0]) {
$(".selectpicker").selectpicker();
$('.selectpicker').parents('form:first').validate().settings.ignore = ':not(select:hidden, input:visible, textarea:visible)';
}
});