mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

Example of GoToStep and the Next button? #36

Closed aj7 closed 11 years ago

aj7 commented 11 years ago

Hi, I am able to get the goToStep button to work from an external call - however, I would like to decide which step I want to move to with the 'Next' button inbuilt in smart wizard, based on what the user selects in the first step i.e. if something is clicked in Step 1, then on clicking next, I can check for the value and then move to Step X or Y etc...

Is this possible? Can I get an example?

mstratman commented 11 years ago

I'd recommend hiding the next/previous/finish buttons, and creating your own.

Then from your button events, you can call goToStep to go to any step you want.