Assign group membership based on custom field?


#1

Hello! I’ve been looking for a way to link a specific custom field that a user selects when registering to a specific group. As in, user selects “I’m a developer” and it puts them in the developer group. Is there a way to automate this on the website or a plugin that will do it for me? Thanks!


(Christoph) #2

No, this is currently not possible but you’re not alone. See this topic for previous discussions about this:

But your idea to do this via custom user fields might actually be a way to do this. You would then need to run a job that regularly checks that user field and changes group membership based on that.


#3

@tophee That would be incredibly helpful. Unfortunately, I have no idea how to even go about setting that up lol. If you have any suggestions or can point me in the right direction, I’d greatly appreciate it!