locked
best way to make team required for user? RRS feed

  • Question

  • Hello, trying to figure out the best way to make Team required for user. I could put a Team subgrid on the User form and use js to make it required. 

    However, the User-Team relationship is selectable via the left nav area so I don't want to duplicate the selector control if it's already available and enforcable as mandatory.

    So my question is: if I want to make Team required for Users in user admin then will I need to follow the first approach I described? Or is there a way to implement this in a more OTB way?

    Friday, May 9, 2014 5:36 PM

All replies

  • Hi,

    The way I would do this would be to create a N:1 relationship from User to Team and make the attribute mandatory on the form. You can then create a plugin to automatically add the user to the team.

    Hope this helps,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Sunday, May 11, 2014 9:53 AM
    Answerer