Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set variable when user clicks on a button

How can I set a variable to 0 when the user clicks on a button? I can't find the correct Action in the button. Anyone can help?

Thanks!

1 Solution

Accepted Solutions
sunny_talwar

2 Replies
Frank_Hartmann
Master II
Master II

create 1 Variable:

1. vShow

Setup conditional view in all of your charts:

1.go to Properties --> Layout --> Show: conditional ---> vShow=1

Create 2 Buttons:

1. Hide Button: --> Actions ---> Add--> set Variable--> vShow --> Value = 0

2. Show Button: --> Actions ---> Add--> set Variable--> vShow --> Value = 1

hope that helps

sunny_talwar

You need this:

Capture.PNG