Welcome to the Wizard Behavior Demo
Wizard Behavior is an extension for the Yii PHP Framework that simplifies the handling of multi-step forms. It features data persistence, Plot-Branching Navigation (PBN), step repetition, Forward Only navigation, optional step timeout, invalid step handling, pause and restart between sessions, and has utility methods for use in views to assist navigation; the demos below demonstrate these features.
A Four step registration wizard.
You can return to previous steps either using the "Previous" button or the menu; note that $autoAdvance===TRUE, so if you go back two steps the "Next" button goes to the first uncompleted step.
You can save your registration by clicking the Save button, and then resume it later by going to the provided URL.
10 General knowledge questions, but you need to be quick with your answers.
This demonstrates the step timeout feature – you have 30 seconds to answer each question, and step repetition – the quiz only has one step.
A short survey about your pets that demonstrates the Plot-Branching Navigation (PBN) feature of the Wizard Behavior.
PBN allows the wizard to present different forms depending on the results of previous steps; an "if this then that" mechanism.
Give different answers to see what happens.
Note: No data is stored on completion of the Wizards; they either display what you have entered, or in the case of the quiz, how well you did.
Download The Wizard Behavior and/or the code for this demo