Been stuck on this issue for a bit now if anyone could provide any insights
I have a bookmark icon nested in a repeating group of jobs. I want the bookmark icon to have a different color on page load, depending on if the user has this specific job saved in the database.
- repeating group job
- group job
- Icon fa fa-bookmark-o
- group job
So my issue is, I am not sure how to implement this. When the page loads, I want specific bookmark icons on specific cells of the repeating group to be colored, depending on if the current cell job is one of the current user’s saved jobs.
So far, I’ve tried creating a conditional on the bookmark icon, but the logic doesn’t work. What I was trying to do is Search from my database Saved Jobs, with the constraint being that the Created By is the current user(this is where I connect the saved job to the current user) contains this current parent group’s job. I think I’m doing this incorrectly. Are we able to do this on an icon conditional?
I’ve also attempted to do it manually on the workflow but to no success. I found that I can only access the bookmark icon if I navigated the start/edit workflow from the icon itself, but I can only modify what happens when the bookmark is clicked.
I already have an implementation of the bookmark changing color when it is added/removed to the Saved Jobs database, but it doesn’t show the color change when the specific job is already saved in the database. By default, all of the bookmark icons are uncolored. I also can’t access the bookmark icon directly from the workflow, and I’m thinking it may be because the icon is nested in the repeating group. Any ideas on how I can do this? Any help is appreciated!