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). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Simple hierarchical select

16,412 sites Security covered Drupal 10–11
View on drupal.org

This module provides a widget for taxonomy fields that allows users to browse and select terms from a vocabulary hierarchy. It can also be used as an exposed filter in Views to filter content based on hierarchical taxonomy terms.

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

2.0.x Features

2.x is the current stable production branch.

It receives bug fixes, performance improvements and compatibility updates while maintaining backwards compatibility for existing sites.

3.0.x Features

3.x is the next major version of SHS.

It introduces significant new functionality including inline taxonomy term
creation, lineage support and Select2 integration.

As a beta release, APIs and implementation details may still evolve prior to the
first stable 3.0.0 release.

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.

Depends on

Dependencies of the latest stable release

  • system Drupal core >=10.5
  • taxonomy Drupal core

Required by

1 tracked project depends on this one

Activity

Tracked releases
17
Tracked since
Nov 2024
Latest release
1 week ago
Releases (12 mo)
8 ▼ from 9
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.0-beta7 Pre-release 10–11 Aug 21, 2026
2.0.7 Stable 10–11 Aug 21, 2026
3.0.0-beta6 Pre-release 10–11 Jul 25, 2026
2.0.6 Stable 10–11 Jul 25, 2026
2.0.5 Stable 10–11 Nov 14, 2025
3.0.0-beta5 Pre-release 10–11 Nov 14, 2025
3.0.0-beta4 Pre-release 10–11 Oct 16, 2025
2.0.4 Stable 10–11 Oct 15, 2025
2.0.3 Stable 10–11 May 6, 2025
2.0.2 Stable 10–11 Feb 6, 2025
3.0.0-beta3 Pre-release 10–11 Feb 6, 2025
3.0.0-beta2 Pre-release 10–11 Feb 6, 2025
3.0.0-beta1 Pre-release 10–11 Feb 6, 2025
3.0.0-alpha4 Pre-release 10–11 Jan 8, 2025
2.0.1 Stable 10–11 Dec 23, 2024
7.x-1.10 Stable Nov 26, 2024
2.0.0 Stable 10–11 Nov 26, 2024