@crustack/form
Multi-step Forms
Multi-step forms are a way to break down a form into smaller, more manageable steps.
Multi-step forms are easily implemented with Crustack form's flexible architecture.
Each step can be handled independently by using the Form component's onSubmit event handler. By calling event.stopPropagation(), you can prevent the event from reaching the root form and triggering a premature submission.
In-memory steps
Below is an example of a three-step form that allows users to navigate between steps using back and next buttons.