The Autocomplete Deluxe module defines a custom widget for the Term reference field. For example, the Tags field on the Article content type is a Term reference field.
Drupal ships with its own auto-complete widget but it is pretty basic. The Autocomplete Deluxe module offers a more enhanced auto-complete experience and best of all it uses the jQuery UI Autocomplete plugin that ships with Drupal. This means you don’t have to download any 3rd party jQuery plugins or other Drupal modules.
Installing Autocomplete Deluxe is easy, just download and enable. You do not have to download 3rd party plugins or other Drupal modules.
For this article, I used the latest development release of the module.
If you use Drush, run the following command:
$ drush dl autocomplete_deluxe-7.x-2.x-dev $ drush en autocomplete_deluxe
How to use Autocomplete Deluxe
Configuring the module is fairly simple, to use the widget on a “Term reference” field just select “Autocomplete Deluxe” from the Widget drop-down list. In this section, I’ll show you how to change the Tags widget to use the “Autocomplete Deluxe” widget.
1. Go to Structure -> “Content types” and click on the “manage fields” link within the Article row.
2. Click on the edit link within the Tags row.
3. Click on the Widget type tab and select “Autocomplete Deluxe” from the Widget type drop-down list and click on Continue.
Now if you create a test article, the Tags widget should look slightly different. Enter in some terms to see the widget in action.
If you have any questions, please leave a comment.