Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Multistep Form Framework

61 sites Security covered Drupal 8–11
View on drupal.org

This module provides a developer-friendly framework for building multi-step forms in Drupal. It uses a YAML plugin system to define form steps and allows for flexible configuration and organization of complex forms.

This module provides a framework for creating multistep forms in Drupal 8.x. While similar notable projects exist on Drupal.org, the goal of this project is to simplify the process of creating multistep forms for developers while maximizing flexibility in configuration. The module doesn't provide any kind of UI, it's created only for developers.

Module provides Yaml plugin system like *links.action.yml, where you can specify each step, and also replace/extend plugin itself. The benefits of such approach are:

  • One place to configure everything
  • You can specify whatever namespace you want for steps, which is good if you have a few multistep forms in one module because you will be able to sort them logically

Usage

1. Create your form, and extend it with \Drupal\multistep_form_framework\Form\MultistepForm class. The only required thing is to set form id ::getFormId, which later will be used to identify plugin.
2. Add MODULE_NAME.multistep_wizard.yml file to your module.
Example:

your_form_id_here:
  steps:
    -
      id: greetings
      class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Greetings
    -
      id: book_attributes
      class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\BookAttributes
    -
      id: description
      class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Description
    -
      id: graz
      class: \Drupal\multistep_form_framework_examples\Form\BuyBookStep\Congratulation

How does this module differ from other community projects and examples?

The Webform allows building multi-step, wizard-style forms and provides a decent UI. If you don't need to deal with non-trivial tasks like multiple entities generation or some insane widgets then I encourage you to use Webform instead of this module.

Multi Step Form Example provides a intuitive demonstration of creating multistep forms. This framework differs in that it eliminates the need for a StepManager class and allows for iterations to jump arbitrarily to any step, even based upon custom logic of the previous submit.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2025
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
2.x-dev Dev 8–11 Jan 9, 2026
2.0.0 Stable 8–11 Nov 5, 2025