toggle button action

Technical shared this problem 10 months ago
Solved

Hi Everyone,

I am trying to use a Toggle Switch Off/On and have different behaviour of a button


So 1 button. 1 Switch.

Switch Off, press button = Action 1

Switch On, press button = Action 2

Please advise how to achieve this.

Comments (3)

photo
1

More like a switch like this 81645d296f88f9eee85c8cada79eda50


So when it's ON, a button will do a certain action. When it's OFF that same button will do another action

photo
1

For that the best approach is to use Dynamic Panels. You can check how that same component was built in the iPhone library

photo