Question

i'm new to drupal (just installed v9) and want to add a bunch of content. like in the question asked years ago (Create taxonomy terms on the fly) i want to add taxonomy terms on the fly while adding new content and not having to add them first in the taxonomy module.

the links provided in the old thread are for v7 and v8 and seem not to work

if the code thats posted there is still a valid solution can one tell me where to add it? thanks

Was it helpful?

Solution

As always there is more than one way of doing things in Drupal.

I'll guess that one of the popular ways of solving this problem currently is with the Inline Entity Form module.

Once you have it installed you can go to the "Manage form display" of your Content type and choose the Inline entity form Simple or Complex for your Taxonomy ER field (Complex allows you to also add existing entities, not only create new ones on the fly). Adjust the settings to your needs.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top