domino
0
Q:

unobtrusive validation on selectpicker

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

New to Communities?

Join the community