I have a front-end form with a user field for team leaders to select which of their team members (“asistentes”) have attended a meeting. Each team has a different user role assigned (“Albacete”, “Berja”).
What I need is that the field only shows the members that have the same role as the team leader that is filling in the form.
Any idea how could I achieve this?
Thanks in advance!