formWizard | A boilerplate for multi-step single-page forms
This boilerplate shows you how to break a large form into a multi-step structure that works with or without js, that can support list/add item pattern, review pattern, decision tree all from a centralized code base (so you don't repeat code on both server-side and client-side). Navigating through form steps by default is sequential, meaning that you can only access steps whose previous steps have been completed. However you can bypass this restriction by setting data-navigation="random" on the form element.
- It does NOT break browser back button
- No use of jQuery or other frameworks
- No required stylesheets
- Supports server-side validation
- Client-side validation relies on HTML5 validation attributes or you can im
Features (not implemented yet)
- Support for IE11
No dependencies. The demo page uses PHP for server-side scripting, but you are free to use any server-side language.