So I am working on creating a referral system. When a user signs up with a code sent to them by another user, that code gets saved as a thing in their user database. What I am trying to do is have the user who referred them get a display of the users they referred and be able to use a coupon.
What I have set up now is a repeating group. This group searches for the current user’s referral code.
Then, I have the cells with text boxes and buttons to display the current cell’s user name.
However, when I preview with a user who is logged in and referred a customer, their name doesn’t appear in the list.
In the specific example James Lusk referred Juan Valdez. Juan Valdez does have Jame Lusk’s referral code saved as his promo id. But as the image above demonstrates Juan’s name does not show up on James’ list of earned coupons.
Any ideas what might be going on?
Thank you for any help!
Here are screens of each user’s data as well: