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).

Username suggester

1 sites Security covered Drupal 11 · not 10
View on drupal.org

This module enhances user registration by automatically suggesting usernames in real-time as users type their email. It uses Drupal's HTMX API to provide suggestions without hiding the username field, making it easier for new users to create accounts.

The Username suggester module improves Drupal's user registration by automatically providing suggestions in the "username" input in real time through utilizing the new Drupal HTMX API.
It reduces friction for new users while keeping the username field visible and editable.

Features

  • Real-time username suggestions based on email input using Drupal's HTMX API
  • Configurable generation patterns with full token support
  • Customizable trigger events (blur, change, keyup with delays, etc.)
  • Custom Tokens for flexible username generation (mail, mail_local, mail_domain)

Configuration

Configure the module at admin/config/people/username_suggester:

  • Generation Pattern: Define how usernames are generated using tokens (default: [username_suggester:mail_local]).
  • Trigger Event: Specify when suggestions are generated (default: blur).

Additional Requirements

  • No dependencies beyond Drupal core.
  • Requires JavaScript enabled in the browser.
  • Token: Provides a token browser UI for easier pattern configuration (optional but recommended).

Similar projects

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 11 Jan 14, 2026
1.0.1 Stable 11 Jan 13, 2026
1.0.0 Stable 11 Dec 11, 2025
1.x-dev Dev 11 Dec 11, 2025