validation engine and show tabs
$("form").validationEngine('attach', {promptPosition : "bottomLeft", validateNonVisibleFields: true, scroll: false,
onFailure: function () {
$('.nav-tabs a[href="#' + $('body').find(".formError").closest(".tab-pane").attr('id') + '"]').tab('show');
$('body').find('form').validationEngine('updatePromptsPosition');
}
});