$(".tab-wizard").steps({
headerTag: "h5",
bodyTag: "section",
transitionEffect: "fade",
titleTemplate: '#index# #title#',
labels: {
finish: "Submit"
},
onStepChanged: function (event, currentIndex, priorIndex) {
$('.steps .current').prevAll().addClass('disabled');
},
onFinished: function (event, currentIndex) {
$('#success-modal').modal('show');
}
});
$(".tab-wizard2").steps({
headerTag: "h5",
bodyTag: "section",
transitionEffect: "fade",
titleTemplate: '#index# #title#',
labels: {
finish: "Submit",
next: "Next",
previous: "Previous",
},
onStepChanged: function(event, currentIndex, priorIndex) {
$('.steps .current').prevAll().addClass('disabled');
},
onFinished: function(event, currentIndex) {
$('#success-modal-btn').trigger('click');
}
});