Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Username suggester

1 sites Security covered
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)

Activity

Total releases
4
First release
Dec 2025
Latest release
6 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

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