Yiibooster Wizard - How Do I Use It For Ajax Forms?

I’m having trouble getting the YiiBooster Wizard Extension to work with forms.

What I’m trying to do is have a form on each page, and then use the onNext event to submit the form via jQuery.ajax().

I’ve got the submission working ok, and I can process the result as JSON using the callback, but where I’m stuck is getting the wizard to either stay on the existing page or proceed to the next page based on the result of the JSON.

I’ve tried getting onNext to return false so that it does’t automatically proceed, then using .done to trigger the wizard’s next() method, but that doesn’t seem to work, the wizard just stops.

Any suggestions?