Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

shs

15,747 sites Security covered
View on drupal.org
Simple hierarchical select defines a new form widget for taxonomy fields to select a term by "browsing" through the vocabularies hierarchy.
The widget is available in node forms and as Views exposed filter.

This module has been inspired by Hierarchical select but is much simpler (hence the name ;) ).

Unlike Hierarchical select this module provides a simple widget for taxonomy terms only. As an addition Simple hierachical select works as Views exposed filter.

Alternative modules to consider when evaluating shs

Dependencies

  • Taxonomy module is required to use Simple hierarchical select.
  • For better performance you may consider installing the High-performance JavaScript callback handler. It speeds up the load time of each request (for example after selecting a new value) incredibly.

Installation

Install as usual, see the documentation pages about installing modules:
Installing modules (Drupal 7) Installing Drupal 10 Modules

Configuration

Field
  • Create a new field (type "Term reference") and select "Simple hierarchical select" as widget type.
  • Field settings
    • "Allow creating new terms"
      Terms may be created directly from within the dropdowns (user needs to have permission to create terms in the vocabulary).
    • "Allow creating new levels"
      If selected users with permission to create terms in the vocabulary will be able to create a new term as child of the currently selected term.
      Note: This option is available only if "Allow creating new terms" is checked.
    • "Force selection of deepest level"
      Force users to select terms from the deepest level.
    • "Output this field with Chosen"
      If you install the Chosen module you can decide here on a per field base when to render the dropdowns with Chosen.
Views (exposed filter)
  • add a new filter using the field set-up as "Simple hierarchical select" or
    use "Content: Has taxonomy terms (with depth; Simple hierarchical select)"
    as a new filter
  • use "Simple hierarchical select" as selection type
  • select "Expose this filter to visitors, to allow them to change it"
  • enjoy ;)

Thanks to Ivan Zugec there is now a wonderful documentation on how to install and use Simple hierarchical select: http://webwash.net/tutorials/using-simple-hierarchical-select-module-dru...

With SHS 7.x-1.7 (and development versions later than 2016-03-01) displaying the number of nodes associated to a term is not part of the module anymore. An example for developers on how to add the functionality to your site has been moved to a sub-module.

If you need a working module for that, have a look at SHS Entity count.

Sponsors

Development on Simple hierarchical select is sponsored by undpaul.

Activity

Total releases
9
First release
Feb 2025
Latest release
5 months ago
Release cadence
35 days
Stability
44% stable

Release Timeline

Releases

Version Type Release date
2.0.5 Stable Nov 14, 2025
3.0.0-beta5 Pre-release Nov 14, 2025
3.0.0-beta4 Pre-release Oct 16, 2025
2.0.4 Stable Oct 16, 2025
2.0.3 Stable May 6, 2025
2.0.2 Stable Feb 6, 2025
3.0.0-beta3 Pre-release Feb 6, 2025
3.0.0-beta2 Pre-release Feb 6, 2025
3.0.0-beta1 Pre-release Feb 6, 2025