in my case a project has a technical team, so project content type has a user reference field which is created by Entity reference module. but in node creation form, an "Anonymous" user is available to select.

enter image description here

how can I remove it?

1 Answer 1


One way would be to create a View with an "entity reference" display to show all users with an id greater than zero, then use the Views "Entity selection mode" for your entity reference field:

enter image description here

You can choose the View you just created and the anonymous user will no longer show.

There's also the Entity Reference View Widget module which provides an advanced version of this functionality, though it's still in alpha.

  • Thanks for introducing entity reference views integration. Commented Aug 3, 2012 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.