Toggle and UnToggle button

Creating a custom state where a button changes color on click is not a problem, but i can’t figure out how to make it possible to unclick that button again. I have looked for an answer here on the forum, but can’t really find anything specific.
I’m pretty sure it’s a relatively simple solution, but i just can’t get my head around it right now
Please help :smiley:

Looks like two workflows should do the job:

  1. When Button clicked and Button's customState is 'no'Set Button's customState to 'yes'
  2. When Button clicked and Button's customState is 'yes'Set Button's customState to 'no'

And once you get that working, you can go further and collapse those two into a single workflow
When Button clickedButton's customState = Button's customState is 'no'

of course, so simple, thank you! My brain has been melting on/off for 24 hours trying to figure it out :smiley:

Do you know what would be the simplest way to do the following:
4 buttons where only 1 can be clicked at a time?

1 Like