Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Text Object - Action

Hi

I want to use a text object as a button.  I have set the action so that the button sets the variable to 1 when clicked, but how do I set it so that it changes to back to 0 when clicked again?

Thanks

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

In the action write:

if(myVar=0,1,0)

let me know

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

In the action write:

if(myVar=0,1,0)

let me know

manojkulkarni
Partner - Specialist II
Partner - Specialist II

In Action of TextBox :

Variable = vClick

Value =if(vClick=1,0,1)

Anonymous
Not applicable
Author

Thanks