onStepChange | function | (optional) Will be called when the user navigates to a different step, with step index as the first argument and previous or next (or stepListModified when a step gets replaced) as the second argument, and as the third parameter an options object containing totalSteps, a preventNavigation function, an id if given on the Wizard.Step and a previousStep object containing the previous index (and id if given on the Wizard.Step). When an async function is provided, it will show an indicator during the step change, on the Previous button when going back, on the Next button when going forward, and on the submit buttons when a submit moves to the next step. All form elements will be disabled during the submit. The indicator will be shown for a minimum of 1 second. Related Form.Handler properties: minimumAsyncBehaviorTime and asyncSubmitTimeout. |