-
Notifications
You must be signed in to change notification settings - Fork 782
Q: How to allow step back during step errors
Rafael J. Staib edited this page May 24, 2013
·
1 revision
A: It is quite easy just add three additional lines of code to the onStepChanging
event. See code example below.
$("#wizard").steps({
onStepChanging: function (event, currentIndex, newIndex)
{
// Allways allow step back to the previous step even if the current step is not valid!
if (currentIndex > newIndex)
{
return true;
}
...
}
});