Help to show / hide items in a repeater based on user role.

I’m trying to create a task list for members that uses labels to display only the relevant tasks for that user. I was hoping to do this using items in a repeater and then assigning a label to the contact when they click a button on each task to say they’re done. This would then reveal the next task in their list.

So this would show 1 item, then 2 items then 3 etc. assuming each button will add a label like ‘Task 1 complete’ to their profile.

Any ideas if this is possible?

Thanks!

Hi Paul.

Yes this is possible.

However, to do so it won’t be an easy task if you aren’t really familiar with coding.

You will have to add an event trigger when pressing the button in the repeater, it will have to save data to the user or to the task, and reload the repeater with the right data so it knows wich item it should show.
You would also need to filter evrything based on the memers label.

here are some links that might be usefull for your :slight_smile:
wix-Data
wix-Dataset
Repeaters

Kind regards,
Kristof.