I have two different content types, Computer and Chemistry, and taxonomy terms for all articles (content types) which store the methodology of the article. The taxonomy hierarchy is the following.
- Arithmetic (Term ID: 1)
- DMA (Term ID: 2) // abbreviation for "Direct Memory Access"
- NGE (Term ID: 3) // abbreviation for "Noble Gas Elements"
- DMA (Term ID: 4) // abbreviation for "Dynamic Mechanical Analysis"
When users are creating or editing a node of type Chemistry, just NGE and DMA (whose ID is 4) should be allowed to select.
I only need one taxonomy vocabulary, since there are too many content types, and if I want to add a vocabulary for each of them, then it leads too many vocabularies; more importantly it removes the ability of freely navigating in different types using taxonomy hierarchy.
How do I limit the allowed taxonomy terms basing on the content type?