Can make that an option so that the lists Parents only show?
That if there is a category with Parents and Children it only shows the list of the parents and when deploying the results it shows that Father's nodes and of their Children.

Comments

wim leers’s picture

Status: Active » Closed (won't fix)

Currently, Hierarchical Select doesn't have a UI. I'd like to keep it that way (everything happens "automagically").

If you want to prevent any children from being displayed, then do a hook_form_alter() and remove all child terms from #options.

armand0’s picture

How is hook_form_alter() used? I look for the information of how to use it but I have gotten lost in many questions and few answers. I see that it is a function to modify the prints to screen. But I have not known as making it. If you are so kind of explaining to me as or to indicate me a link where to see an example.

Thank you.

wim leers’s picture

There's plenty of documentation on this topic. You can find example implementations in lots and lots of modules. So I'm not going to explain it here to you. If you need to, just get the Drupal Pro Development book, which will help you with this, amongst other things.