Hello,
I have a wizard control with four steps. Is it possible to run a specific JavaScript every time the user goes into a specific step? i.e. step 4
Thanks,
Alberto
Hello,
I have a wizard control with four steps. Is it possible to run a specific JavaScript every time the user goes into a specific step? i.e. step 4
Thanks,
Alberto
Hello @adasilva,
You can use this code to run specific action when user navigates to the 4th step:
fd.spRendered(function(){
fd.container("Wizard0").widget.$on("update:startIndex", function() {
window.setTimeout(function() {
if (fd.container("Wizard0").widget.activeTabIndex == 3){
alert('This is the 4th step');
}
})
})
});
Please find more information about Wizard container JS API here.