I am trying to add a content type that is very simple and just has a title, body and set of users.
Easy right, well there is one slight issue though, I want to use the user reference field and set it to multiple values so I can add a number of users to this content type. Bound to each user I want to have a role in this type.

Title
Body
User 1 - Role
User 2 - Role

I could put the Role as a optional field in the user and thereby reference it in my view but I would like to have it really in the content type itself since this field is only needed for a vast minoroty of users on the site. Anyone has any good solution for this ?

Best Regards

Comments

penyaskito’s picture

I need something similar, but maybe it's worth a contrib module instead of a patch.

WebJohn’s picture

For anyone who may come across this, I managed to achieve the same idea by using the Field Collection module.

WebJohn’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.