Forgive me if this is already possible and I just simply don't know how to do it.

I'm wondering if there's a way to allow user tags to be inserted as children of a specific parent term on a node add/edit form.

Example...

Assume I have a vocabulary named "animals" and this is its structure:

Bear
--Black Bear
--Brown Bear
Dog
--St. Bernard
--Poodle

I have 2 content types -- "Bear" and "Dog". Here's the functionality I want: when someone creates a node of type "Bear", they can select "Black Bear" or "Brown Bear" or, if the bear is neither of those types, they can create a new term (a user tag) that will be placed within the "Bear" section of the animals vocabulary.

Comments

mh86’s picture

Status: Active » Fixed

yes, that's already possible :)
in your field settings, go to field group "Settings for Autocompletes" and define the parent under "Extra Parent for new terms"

Chris Einkauf’s picture

Thanks for the quick reply, mh86. I'll give this a shot :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agir’s picture

Hi and what about this: a have only ONE content and I want user to add new term a select its parent?
Thx