justinmind-logo
 
Upvote 1

Set timer start on dynamic panel state change?

Answered Victor Conesa 8 years ago

I have a dynamic panel, the first panel has a button that on click it changes to dynamic panel state 2. On load of state 2, I am trying to have a text label start a timer that the value counts from 1-10. I can make the label and set the events so it counts from 1-10 on its own using "events" and changing the "set value" repeating 10 times.


I am having trouble figuring out how to set the load event so that on the panel state change it fires the event to force the label to start counting up. I was trying to do this on state change in the panel because I wanted to use the event timer in different pages of the app vs having to recreate it time and time again.

Replies (1)
photo
1

Hi Jack,


In this case, you can add all the counter actions next to the 'Set Active Panel' action, by clicking on the gear icon -> 'Add action' and add all the set value actions and a Pause between them. Everything should be triggered from the same event as the 'Set Active Panel' to allow the expected behaviour.


Best,


Lidia

Leave a Comment
 
Attach a file