This module demonstrates a multistep form that guides users through entering personal and contact information. It then creates a user account, generating a unique username based on their name, and displays a success or error message. The module also automatically manages custom user fields for storing the submitted data.
Showcase of a Drupal Multistep form using Ajax.
The form creates user based on the information submitted. It is composed by three pages, one to get personal information, another to get contact and location information, and the last one to show if the user was correctly created or if it was an error.
This module generates a unique username using the first and last name provided by the user. The username is composed by the first character of the first name and all the last name (without spaces), and is display at the end of the form in the third page. In case there is already a user with that username, an number is appended to make it unique.
The module also creates the necessary user fields on installation to store the requested information (first_name, last_name, gender, birthday, city, phone, and address). The fields are automatically set to be shown on the user edit page. The fields are deleted when the module is uninstalled.
Installation and use
To use this module simply install it using composer and enable it. Then you can go to the demo page on /multistep_form_demo and start checking out.
Ask your assistant about Multistep Form Showcase
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha2 | Pre-release | 8–9 | Feb 6, 2023 | ||
| 1.0.x-dev | Dev | 8–9 | Feb 6, 2023 | ||
| 1.0.0-alpha1 | Pre-release | Feb 6, 2023 |