2

I want to make it so that each user can only be assigned once to a specific field across all entries. For instance, let's say we have a bunch of teams. A user can only be on one team at a time. Once assigned to a team roster, they should not be available to assign to another team. Is this possible?

2

Could you not come at it from a different angle and instead choose your team by editing the user? That way you can assign a team field to the user and restrict that field so that you can only pick the one team.

Then in your templates you can use relations to link them all up.

| improve this answer | |
  • 1
    Nice suggestion! I had already built out the solution the other way, and then was asked if I could limit the user to being on one team programmatically. I'll have to think about the ramifications of that to my front-end code, and it's definitely something to consider. Thanks! – tofraser Feb 2 '17 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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