Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
anonymous1
Contributor III
Contributor III

Toggle Button

hi ,

i have a toggle button that toggles between 2 charts. when this button is clicked i need a message (text object) to appear to notify the user they are about to change charts. when this button is selected a second time i need the chart to change.  currently the button is toggling the message and charts on the first click, is there a way i can get the button just to output the message on first click, and on second click change charts and hide message?

 

TIA

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

Sure - have a variable and a button cycling the variable value between 1, 1.5, 2, 2.5 and back to 1. The message on the button can include "Are you sure" when the value is 2.5 or 1.5. Use =Floor(vState) = 1 and =Floor(vState) = 2 to control the visibility of the objects. See the attached.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein