Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By turpentyne on
I have two entity types: Plant and Author.
I want to use an autocomplete Entity Reference field for "Author", within the "Plant" Entity.
I'm hoping there's a way that, if the user enters a name that does not yet exist in "Authors," it will create a new one matching that name - so the user doesn't have to leave what they're doing, add an author, then come back to the "Plant" entry page.
Could somebody point me in the right direction for doing this?
Comments
Bumping this, because of all
Bumping this, because of all the spam posts that came into forum page.
https://www.drupal.org
https://www.drupal.org/project/entityreference_autocreate
As far as I remember you have to select "Autocomplete" in the field settings. That will you enable to select a check box which will enable that auto create - functionality for that field for you.
I like cookies!