Formwizard is a simple mootools plugin that convert a form in a control similar to the wizard widget that were so popular in the nineties of the past century.
The idea is quite simple: If you ask your users to complete a long or difficult task, you can obtain better results by splitting the needed input controls on several "pages".
You can resort to simple html and show to the user a number of forms carrying with you the previous input values (http is a stateless protocol) or format the form into a single long page and let the user scroll his way beetween the control.
I tried a lot to make the code flexible and inobstrusive following the mootools coding style but my proficience is limited (at least as my toefl english level) and, as the code is in continuous development, suggestions and criticisms are welcome.
FormWizard hands on
The use of the plugin is straightforward:
- Put a form in your html;
- identify the different wizard pages enclosing the appropriate html elements into a serie of fieldsets;
- call the plugin and let the magic happens.
You can use different kinds of containers but, as the name of the plugin suggests form and fieldset are the preferred ones.
You have to skin your form. I will work on some precooked styles in the future, maybe a distant future. It is a promise. You don't have to take it seriously but it is still a promise.
In the meantime you may wanto to look to a series of examples to learn how to use this plugin.