Hei,
I just found this solutions,
just add this simple code in every step in wizard
if($('button.sw-btn-next').hasClass('disabled')){
$('.sw-btn-group-extra').show(); // show the button extra only in the last page
}else{
$('.sw-btn-group-extra').hide();
}
Here Is The Full Code :
$("#smartwizard").on("showStep", function(e, anchorObject, stepNumber, stepDirection) {
if($('button.sw-btn-next').hasClass('disabled')){
$('.sw-btn-group-extra').show(); // show the button extra only in the last page
}else{
$('.sw-btn-group-extra').hide();
}
});
The Explanation is so simple,showStep function handle every step in wizard ( from step 1 to 2, etc )
Then we just need to check is button with class btn-next(class next button) has disabled class, as we know the next button disabled when the page is last.
Hope this help.