UNLIKE element problem? Please Help

Hey Bubble community! Would anyone know how to properly workflow an action for the user to unlike their own liked element?

There was a post back then that solved this problem but it is no longer available. Your help is appreciated! Looking forward to hear back from you :slight_smile:

Here’s what my current workflow looks like if the user presses/likes the button:

It sounds like the workflow has to do the reverse of whatever step 2 & 3 are doing. If you share screenshots of those actions, I might be able to help you.

I would guess that step 2 is adding a like to that topic (either by count or add the user to a list of people who liked it) and step 3 is adding this topic to the list of liked topics for that user.

1 Like

Thank you for replying Rico! What would be the steps to reverse that if the user clicks/ presses the button to unlike the topic?

Here are the photos of the steps

Two “On click” events … only when “this thing is not already in the list”…

…Add it

…only when “this thing is already on the list”…

…Remove it

image

1 Like

Thank you Nigel for your reply! Unfortunately I did not understand that. Please clarify again. My language with this platform is not advanced, Sorry.

Is there a way to reverse the steps if the button is pressed the second time?

This topic was automatically closed after 70 days. New replies are no longer allowed.