Questions tagged [hierarchical-select]

The Hierarchical Select module provides a selection widget for used in forms to select items in a hierarchy.

Filter by
Sorted by
Tagged with
0
votes
1answer
61 views

Ajax Multiple Callbacks is not working for first callback?

I have been trying to load the data to other select list field from the first select list callback. I want to change the two select list variables based on the first select list on changes, please ...
0
votes
1answer
39 views

How do I dynamically populate a select field?

this question comes quite often but I couldn't make it work to that point. My problem is simple, I have a 2 level taxonomy, I have 2 select fields, one is populated with the parent taxonomy and the ...
2
votes
1answer
25 views

How to dynamically make a field visible?

I'm trying to render a field based on a select value. However I couldn't succeed for now, so here is what I tried: I created a content type with a select field (field_type) var_dump($form['...
1
vote
2answers
230 views

Loading taxonomy terms in a tree in Drupal 8

I have multiple level of vocabulary, I want to display all level in the hierarchy same as taxonomy display. My taxonomy is like. All Drinks Alcohol Drinks Beer Vodka ...
2
votes
0answers
222 views

How to select, add, limit or level select hierarchical taxonomy terms as field widget values?

To sort and "tag" content hierarchically Drupal has/had the great ability to build hierarchical term trees like: car > toyota > combi, car > ford > lector, etc. which could be added to content in ...
0
votes
1answer
93 views

Parent term doesn't show child term entities

My website has two taxonomies school and city, are connected. Here's city term list Newyork(parent) -Yonkers(sub-term) -Albany(sub-term) -New Rochelle(sub-term) -Utica(sub-term) And school term has ...
0
votes
1answer
470 views

How to show more terms in the “Parent terms” select list when adding taxonomy term?

When adding terms to a taxonomy vocabulary, the "Parent terms" scrolling selector list in the "RELATIONS" section only displays 4 items. When dealing with large, complex, hierarchical taxonomies, this ...
-1
votes
1answer
75 views

hierarchical select in user registration form

I have a vocabulary "school" which has these fields. School Name: School Type:(male/female)(term reference) School City:(term reference) Now, I need to add the school term reference in the ...
1
vote
1answer
2k views

How to add a hierarchical taxonomy to a content type

I have a hierarchical taxonomy like below In Drupal 7 there was a module name hierarchical select to achieve this. But it is no longer support for Drupal 8. Is there another way to add this to a ...
-1
votes
2answers
246 views

Make taxonomy lists collapsible in a views BEF

Similar to the module Term Reference Tree is there a way to make long taxonomy list filters collapsible? My use case would be for pages similar to kobejet.com/speakraku - where the list is so long it ...
1
vote
1answer
326 views

How to show all subterm nodes of a parent term with the simple_hierarchical_select module?

I use drupal 7 and simple_hierarchical_select module. I have a vocabulary called "news group" that has two level term (parent term and subterm) like the attached picture: When I use exposed filter ...
0
votes
1answer
297 views

How Can I have Exposed filter for Taxonomy vocabulary in Heirarchical Select?

I use drupal 7 and simple hierarchical select module for filter views module result by taxonomy terms and taxonomy vocabularies. my views have results only if select both vocabulary and taxonomy term ...
1
vote
1answer
111 views

Trying to use hierarchical select in exposed view filter - dont get the option

I have activated the Hierarchical select taxonomy views module, but when I add an exposed filter on my taxonomy term, I dont get an option to use the hierarchical select as a widget as the ...
1
vote
1answer
400 views

how to get all options values of simple hierarchical select in drupal $form?

i have writed this code to unset empty terms : function shs_selective_form_alter(&$form, &$form_state, $form_id) { if ($form_id == 'views_exposed_form' && $form['#id'] == '...
0
votes
1answer
63 views

copying out Hierarchical Select terms into other textboxes

I have one Hierarchical Select with 4 depth term. What I need is to copying out every depth term level to other fields/textboxes at the same form as described by the attached image. And also, how ...
1
vote
1answer
453 views

How to save entire term lineage

I need to save term lineage in Drupal 8, not only the deepest term. I know there are modules like Hierarchical select, Simple hierarchical select or Client-side hierarchical select but these are not ...
0
votes
1answer
33 views

How to search by hierarchical taxonomy in views?

I have a view with a Global: Combine fields filter with some fields, one of theese fields is a hiererchical select field of a taxonomy terms. But it doesn't work. How can I set a search box to search ...
0
votes
1answer
63 views

hierarchical select not working in multistep form

I have created multistep form with help of link and created hierarchial select in step 1.It is working for step 1 but when i click next button and goes to step2, and return step1 it is not working....
1
vote
0answers
70 views

How to validate Hierarchical Select when adding new terms

Is there a way to validate Hierarchical Select when adding new terms in sub level. As for now the module is allowing new terms to add but there is no validation such as if I add a new term which is ...
0
votes
1answer
86 views

How to hide terms with no nodes in “Simple Hierarchical Select” in views?

I am using a Simple Hierarchical Select as an exposed filter in views. How would I hide terms that have no nodes from the select box?
0
votes
0answers
65 views

Selecting the child term first while using 'Hierarchical' Select module

I have a taxonomy category in the following hierarchy: Country->State->City. Now, I have a field in one of my content types which uses the Hierarchical Select module. In the front end, users are ...
0
votes
0answers
85 views

Dependent Dropdown using Views

I have two select lists, each in its own Block View. The second list should be disabled until you select something from the first, in which case it would be populated based on the selection. Is ...
1
vote
1answer
581 views

Dynamic filters based on another filter

I am looking to create something similar to this http://www.smartoplug.com/partsearch I need my view to sort based off of multiple parameters. So if you select ford in the make, the models dynamically ...
1
vote
1answer
161 views

Is it possible in Views to get parent term of parent term all the way up a tree

I'm at my wits end on this. Here's my situation: I have a content type which references a Vocabulary of geographical areas which actually has 6 levels ("Island Chain > Region > Province > City > ...
1
vote
3answers
581 views

Populate a hierarchical select field programmatically

I have to create a user, and one of the fields (Profession) is a hierarchical select based on a two level taxonomy, where the first level is "profession", and each profession has different ...
1
vote
0answers
714 views

How to make Simple hierarchical select always displays 2 lists?

I'm using drupal 7 with the simple hierarchical module. In my case, I always have 2 levels taxonomies (parent - 1 or more child (s)). Now the shs module works well, it shows always a first dropdown ...
1
vote
1answer
1k views

Taxonomy term reference field only from top level terms of a vocabulary

I have a multilevel taxonomy term vocabulary Degrees and i. Specializations I'd like to use it in two content types. In one case only the top level terms should appear for users, while in other ...
1
vote
0answers
51 views

How to use #states with Heirarchichal Select?

I want to show a field based on the value of an taxonomy in hierarchical select in Node Add form.I am using #states for it but i can't find where the value of the heirarchichal select is stored or how ...
0
votes
1answer
126 views

Importing non-unique terms with Feeds Importer

I'm trying to import a large chunk of data to our site using Feeds Importer. However, I've come to a small problem when trying to map a piece of our data to a collection of taxonomy terms. The ...
2
votes
2answers
597 views

Conditional fields not working with hierarchical select module

Case: I am using the Hierarchical Select module for allowing users to choose taxonomy terms from a particular vocabulary. Based on the chosen terms (deepest level), I want to display a field using the ...
1
vote
1answer
693 views

How to set up multiple hierarchy taxonomy?

I am struggling to find the solution for the following situation: I am building a tourism site with POIs as nodes (Drupal 7). The POIs are categorized/tagged in a State-County-City hierarchical ...
1
vote
1answer
361 views

Hierarchical select ajax conflict in custom bootstrap theme

I have created a custom theme from scratch using twitter Bootstrap. In my content type there is Taxonomy term Hierarchical Select (HS) list. Problem: When authenticated user try to select any term ...
1
vote
0answers
65 views

how to show views block that drill down hierarchical terms to nodes

I have a hierarchical taxonomy vocabulary Regions which I want to break my nodes down into 'Region > Province > City'. I have nodes with term reference using simple hierarchical select forced to ...
2
votes
1answer
847 views

How to select an address field city from dropdown list?

I am using Address field module to populate address. A requirement needs to limit cities to a particular set, and also countries to particular set too. so I would like to present a set of cities in ...
1
vote
0answers
50 views

Why are my Simple Hierarchical Select fields not opening in multifield edit form?

My User Registration form has a multi field. In the sub fields, I have used term references as simple hierarchical select. As I need adding new value option as well. Data is added through these fields....
2
votes
2answers
760 views

How can I display all levels in Simple hierarchical select

I created select hierarchy ( taxonomy with 3 level), but in default it shows only one level , how can I display all 3 level in default page? : -Any- + -Any- + -Any- I do not want it to automatically ...
2
votes
1answer
438 views

Entity reference Hierarchical Select between three content types?

I have three content types: Courses Sections Chapters Sections content type have Entity reference of Courses. Chapters content type have two entity reference fields as Courses and Sections. If I ...
1
vote
1answer
143 views

Dynamically populate one select based on another

I'm new to Drupal and well aware this question has been asked before, but I couldn't find a situation similar to mine, or maybe I didn't understand it. I have three content types: Team with fields ...
0
votes
1answer
244 views

how to make term reference field choose term from a multi level taxonomy vocabulary

I have a taxonomy voc 'area' that has three levels, region > province > town and city. I then have a content type 'members' which has these three term reference fields that retrieve region, province ...
0
votes
1answer
201 views

How do import and save term lineage using feeds and Hierarchical select?

I have to import a number of nodes that only has the lowest term in the csv e.g. Washington However, in the taxonomy hierarchy it has United States > Washington I am using the Hierarchical select ...
1
vote
0answers
308 views

Collapsible Hierarchy Select List

I'm looking for a combination between a standard select list and Taxonomy Term Reference Tree Widget. I want a select list that has expandable and collapsible parent terms so it's easy to navigate - ...
4
votes
1answer
932 views

How to set a default value for Simple hierarchical select?

I tried to implement hook_form_alter in order to pass default value to Simple hierarhical select views exposed filter. function mymodule_form_alter(&$form, &$form_state, $form_id) { $tid = ...
2
votes
0answers
200 views

Dependent node reference

I have three content types Company Store Offer A Company has many Stores , A Company have many Offers. An Offer belong to many Stores. Store has a node reference field for Company Offer have two ...
6
votes
1answer
3k views

How can I show parent and child terms in facet search filter block for a taxonomy field having simple hierarchial select as widget type

I am using facet filter to filter views values . I have a taxonomy term using widget type [Simple Hierarchial Select][1] . I want to be able to filter parent and child terms both in facet filter ...
2
votes
0answers
1k views

hierarchical select based in taxonomy for webform

I have used the Simple hierarchical select and hierarchical select module long time ago, but now I need that functionality for a webform, I have a list of taxonomy terms with all the states and cities ...
1
vote
0answers
67 views

How to get the deepest route in taxonomy breadcrumb

I'm using Hierarchical select to save my nodes in a term and that term's ancestors.And I'm using taxonomy breadcrumb to display my node's breadcrumb.however I would like to display the deepest ...
0
votes
1answer
843 views

How to use Hierarchial Select Module for select field's of webform module?

Answer is to use Hierarchial select module for dynamic options list based on the previous select box value How do I use Hierarchial select module in my webform module for select fields?
-4
votes
1answer
457 views

Multiple dependent select [closed]

I have installed Simple hierarchical select module ,and added category field in one content type and also gave multiple hierarchical taxonomy. but this module is not responding properly when i click ...
1
vote
2answers
2k views

Using hook_form_FORM_ID_alter to add CSS class to Simple Hierarchical Select

I'm trying to use hook_form_FORM_ID_alter to add a CSS class to one of the select element. I'm trying to add a CSS class "form-control", to the <select id="edit-shs-term-node-tid-depth-select-1"&...
3
votes
0answers
188 views

Disable form altering for admin pages on Bootstrap 3

My default theme is Bootstrap but I use Shiny theme as admin theme. Bootstrap theme alters the forms and fields. And I use Hierarchical Select module, there is a dropbox for multiselection and the ...