It would be great if there was a checkbox on the field creation form that toggled whether users could enter something that wasn't an entity reference, kind of like allowing users to create a new tag if there isn't an existing taxonomy term.

Example: field referencing a user name. There are 3 users on the site: john, bob, and admin. User enters "George" into the field, and it is displayed as plain text on the node because such a user does not exist.

Comments

jcisio’s picture

Since entity has an id, we need to create a new entity on the fly. I used http://drupal.org/project/noderelationships and it gives the same ability (the "Node reference extras" part), only that is it for D6, but we can inspire from it to have a workflow.

jcisio’s picture

Title: Option for non-existent entity » Option to create a new entity on-the-fly
ransom’s picture

http://drupal.org/project/noderefcreate
Is Drupal 7 & alters the widget in reference still reference but closer, that could be a "separate" module but part of the entity package there for lighter weight when the functionality is not needed or wanted.

scottrigby’s picture

Status: Active » Closed (duplicate)
gmclelland’s picture

You could also use http://drupal.org/project/references_dialog. Look at the nodestream distro for an implementation.

leewoodman’s picture

Issue summary: View changes

+1 Subscribe to this feature request. The ability to enter plain text should be an option.