Validation discrète sur SelectPicker

$(function() {
    if ($(".selectpicker")[0]) {
        $(".selectpicker").selectpicker();
        $('.selectpicker').parents('form:first').validate().settings.ignore = ':not(select:hidden, input:visible, textarea:visible)';
    }
});
Curious Camel