As a type of user like a school admin, I want to ability to filter the list of users/students based on matching the school domain to students’ emails.
For example, school A with domain www.school.edu could only view students that contain school.edu for example student@school.edu
I have a repeating group where “email contains current user school website” it does not work properly and when I try to login as another school it still loads the same students.
Try using this for your repeating group: Email contains Current User's Email:extracted with Regex where the Regex is (?<=@)(.*). This will grab the domain from your email. Let me know if that works!
But now I see an issue. It only list the email@alumni.school.edu and not the email@student.shool.edu depending on the user type signed. Any possible solution to cover both scenarios?