What I am trying to do is enroll a person in a course and each course has its own reward.
I want to display this reward.
Here is my logic. I am searching for a user’s list of rewards. THen I am putting a constraint of if they are enrolled in a course. So far, this doesn’t work. Im missing something, I just don’t know what.
Here is my main logic I am trying to acheive.
If current’s users list of enrolled courses = this page’s course. It doesn’t work.
Do you have any other data after course? Something like…
Enrolled courses contains current page course (name, id, etc)
I don’t. Is there something I should put there?
Not to sure, what/where is your current page getting its course from?
I have a list of courses that the user is enrolled in. When they click on one it sends the information from that list.
Im not sure why this is so hard. It’s literally checking to see if a user is enrolled in a course.
Do you mind making it viewable and sending me the link and i’ll see if I can help you out.
maybe you have some other data that pulls the current course name on that page.
What are you thinking might be the problem?
I’m thinking the data isn’t being “passed” to the current page fully and it’s not knowing what course your trying to get.
I’ll see if I can some what recreate what you have.
Is there anyway to debug that? To see if the page is actually getting the course Data?
when you select your page, you have type of content, another box should come up that says backup field for url that could have something in it like name or id. create a text box and put Current page course (backup field) and that will show you if your name or whatever you have is passing.
how is your workflow set up? could you add some more screen shots of your page setup with what your content is?
I think this is a bug. I have exhausted all logic at this point. The course information is getting passed it looks like something just isn’t working.
Ill find a way to just compare strings.
I don’t mind taking a look at, I did a test on my side and was able to pass data and have it pull into my text box.
@adamhholmes do you have any thoughts on this.
From the original post it’s not entirely clear what you’re trying to do here or what the problem you’re having is?..
Are you having issues enrolling people on the courses? Or on displaying the rewards?
What’s not working exactly?
In your first post image you’re doing a search for ‘Users’. This will return a list of all the users who have enrolled on the current page’s course.
Then you’re displaying each user’s reward level’s name for the entire list of those users in your text box.
Is that what you’re intending to do? If so, what’s the issue?
If not, then what is the intention (it’s not clear from the original post)?
If you’re talking about adding a conditional then that needs to be done on the conditionals tab, not in the text content.
Im having problems enrolling people in a reward that specific to the course. So each course has a reward.
I want to only show the rewards for that specific course. Also different users will have different rewards.
What’s not working is the condition of only showing rewards for a specific course.
What’s the conditional you’re currently using?
User Enrolled courses contains current page course.
Which user?
The current user? Or a specific user?
And what’s the property you’re changing when the condition is true?
It should be the current user in this case the student.
So
Student → Enrolled courses → specific reward level.
EDIT. I just want to display data of that reward specifically.
I’m still not entirely sure I understand what you’re trying to do, and without a lot more information about your database structure I can’t really give any exact guidance…
But I’ll make a few assumptions…
I’m assuming that ‘Rewards’ are a datatype in your database, that probably are connected to a specific course, and are stored as a list on the User’s record.
I’m assuming that you’re trying to display the list of the current User’s rewards, which match the current page’s course.
If that’s the case all you need to do is to reference the current user’s list of rewards, filtered to match the current page’s course - but I’m not entirely sure that’s what you’re trying to do?
That’s exactly what Im trying to do.
So how do I do that? Do a search and then put a condition. I have already tried that. Thanks for your help.