Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module defines a new form element type, called "entityreference", that allows developers to add autocomplete fields to forms, so that users can reference any entity in the same way they would do through an Entity Reference field.
Right now, it supports:
Filtering by Entity type (mandatory)
Filtering by bundle (Any number of them)
Limit to a maximum number of referenced entities (optional).
The following features might be added soon:
Filtering by any column of the entity table (instead of just the label).
Filtering by the value of any field of the entity.
For an example of usage, see the pictures attached, or check the README.txt file.