Page 1 of 1

Timer question

Posted: Fri Apr 07, 2023 3:12 am
by SteveMann
I've been away too long. I feel like a newbie all over again.

I have a series of puzzles for the kids to solve to get a prize. Everything works, the site is pretty simple, but there is nothing to prevent the player from clicking on each guess until they go through to the next puzzle.

If they click on the wrong answer, they get a button to go back and try again.
I was wondering if I could use the timer tool to delay the appearance of the go back and try again button, forcing the player to wait.

Any tips for this would be appreciated.

Also, can I make the browser ignore the back button on the browser?

Re: Timer question

Posted: Fri Apr 07, 2023 6:16 am
by Pablo
I you are using a standard form button then you can enable/disable it via events.
Also, can I make the browser ignore the back button on the browser
I don't think that is possible.

Re: Timer question

Posted: Fri Apr 07, 2023 8:24 am
by BaconFries
Also, can I make the browser ignore the back button on the browser?
https://stackoverflow.com/questions/123 ... javascript

Re: Timer question

Posted: Fri Apr 07, 2023 2:44 pm
by SteveMann
Pablo wrote: Fri Apr 07, 2023 6:16 am I you are using a standard form button then you can enable/disable it via events.

Thanks- that will probably work.

Re: Timer question

Posted: Fri Apr 07, 2023 3:15 pm
by SteveMann
Using a button with a timer event seems to work, but I want the button to be hidden until the timer times out. There is no "on load" event, so how would I hide the button until the timer times out?

Re: Timer question

Posted: Fri Apr 07, 2023 3:51 pm
by Pablo
You can initially hide the button via the Object manager.

Re: Timer question

Posted: Fri Apr 07, 2023 5:11 pm
by SteveMann
Excellent- working perfectly.