Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Existing Values Autocomplete Widget

Security covered Maintenance fixes only 303 sites

This module adds an autocomplete feature to text fields, suggesting previously entered values as you type. This gives content editors more flexibility in adding new options without the complexity of setting up a taxonomy. It does not work on the title field.

This module provides an autocomplete widget for text fields that suggests all existing (previously entered) values for that field. This provides more flexibility than “allowed values” for the content editor to add new values. At that same time, it is simpler in many cases than creating a taxonomy vocabulary (no hierarchies, no separate system, no permissions headaches, no rendered pages per term).

For an analysis of the different use cases for Taxonomy, Text Field with Allowed Values, and this module read this blog post.

Note: The autocomplete matching is NOT case-sensitive. This means that it will match any cased version of the same characters. The suggestion will be cased like the first value in the database. If anyone needs configuration on case sensitivity, feel free to open an issue with a MR or ask for sponsored development.

Furthermore this does *not* work on the title field (and other base fields): #3586007: Autocomplete widget does not support base fields, e.g. title field - Help fixing it, if you need it.

Requirements

This module requires no modules outside of Drupal core.

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

After installing the module you can configure a form field to use the autocomplete widget by following these steps:

  1. Visit any content type's “Manage Form Display” page.
  2. Change the “Textfield” widget of any form field that supports it to “Autocomplete: existing values”.
  3. Configure how many suggestions to show in the widget configuration. (Default: 15)
  4. Enter values in the field on the form, and they will become suggestions for the next time you use that field.

Alternatives

Ask your assistant about Existing Values Autocomplete Widget

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

Tracked releases
4
Tracked since
Jan 2023
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-rc1 Pre-release 10–11 May 5, 2026
2.0.0-beta3 Pre-release 10–11 Apr 29, 2026
2.0.0-beta2 Pre-release 10–11 Jan 7, 2025
2.0.0-beta1 Pre-release 8–10 Jan 23, 2023