1

I am trying to call onLeaveStep from the smart wizard like so

...
onLeaveStep: leaveStep
...

Other than that all the parameters of the wizard are as instructed here http://techlaboratory.net/smartwizard/documentation#paramdesc

The problem is that when I add this line of code, i cannot click the NEXT button. For now the function leaveStep looks like

leaveStep = function(from, to) {
   //do nothing

}

Thanks in advanced. David

David Barel
  • 285
  • 5
  • 18

1 Answers1

3

you have to return true in order to advance to the next step

leaveStep = function(from, to) {
    //do nothing

    return true;
}