Dynamic Attributes Hide/Show Help

What I have setup is 4 cards (Container>Row>(then 4 columns)Column>Card) and 4 Titles setup (Container>Row>Column>Title>). Under App I have a Variable Setup for all 4 items that are setup with different ids and then all of them with a value of 0. Then underneath Dynamic Attributes on the Column portion for the Titles I have it setup to Show name1.value==1 and then to Hide name2.value==1 || name3.value==1 || name4.value==1. Then on the Column for the card (each card has it’s own column) I have it setup with Dynamic Events for on Click to todaypu.setValue(todaypu.value==0?1:0)

What I am trying to do is when you click on that card it shows the Title that it is attached to and then when you click on the next card it hides the Title that was previously showing and then shows the Title of the one you just Clicked it. How I have it setup right now it kind of works. I click on the first card and show it and then click on the second card and it hides the first and shows the 2nd but when I go to click on the 3rd card then the previous card is still showing and the current one and then any ones clicked after that they all stay showing. I have tried this starting with multiple different cards starting first and second and so on and it is always the 3rd click and on that it then doesn’t hide any more. I not sure how to fix this and am hoping that someone here might be able to help me? Thank you!

Community Page
Last updated: