Replies: 1 comment 1 reply
-
Hey @performvu I've got something for you - it's not perfect, and it's not precisely what you're looking for, but I believe it gets you most of the way to a solution, and certainly gives you the opportunity to expand on it for your specific needs. Firstly, add an Now add in the button you want to disable for 40 seconds (in my example I've used 4 seconds for testing purposes)
if ($("State.4s_passed")) {
return
} else {
return "Button will be enabled after 4 seconds have passed"
} In short: If 4 seconds have passed, returning nothing will not display a notification, but if 4 seconds have not passed, a warning will display "Button will be enabled after 4 seconds".
I've added an app-export below so you can take a closer look, and get to grips with this arrangement. A quick screencap of the end result: https://jam.dev/c/de2efcc9-abb6-4262-986e-bfc2391d6e3e Please feel free to customise it in any way you like. We also have a community discord server here where you can ask for help from other users, and even showcase your work when you're happy with it. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
I'm embedding an intro video into the screen before progressing onto the onboarding form on another screen.
I want the button to be hidden for the duration of the video (roughly 40 seconds) and then it can appear to prompt the user to go complete the form.
I tried Javascript code but it just isnt recognizing what the button is and how it can hide it. I also tried to see if I could put it in a modal but couldnt work out how to make the modal appear after 40s either.
Would love some help ASAP. We can't have people click before the video ends - so having button visible throughout isnt an option.
Thx!
Beta Was this translation helpful? Give feedback.
All reactions