Forum Discussion
Spam-clicking "Next" will bypass logic intending to prevent further slide progress.
Hi,
I have found that when a page is configured to disable NEXT (in the player) under some condition when the Timeline starts (e.g. page interactions are not complete), it is trivially easy (when on the preceding page) to just spam-click on Next, and you will break-through that barrier.
I believe the reason for this is that the Next button is always enabled until custom logic says otherwise. There is clearly a short-but-achievable time-window where if you get a click in just after the button is enabled, but before it is disabled, you can get through.
Would be great to see some solution to close this window.
Many thanks in advance.
7 Replies
- NedimCommunity Member
You can prevent that by adding the JavaScript below. It is triggered on the slide preceding the one with the transition applied, before the Jump to Slide trigger is executed.
- DeveloperIgnitiCommunity Member
Yes I am using transitions. I understand your explanation, but just because it is explainable does not make it acceptable.
- EricSantosStaff
Hi DeveloperIgniti,
Thanks for confirming, and thanks to JudyNollet for pointing out how slide transitions affect when Storyline recognizes the timeline start.
I understand that knowing why this happens doesn't necessarily address the concern. To make sure I capture your feedback accurately, are you requesting an enhancement where the built-in Next button starts in a disabled state by default when a slide loads and is enabled only when appropriate? Or did you have a different solution in mind?
- DeveloperIgnitiCommunity Member
Hi EricSantos​. I think there's a few options...
- After user clicks NEXT, wait for some reasonable time before checking to enable NEXT again - e.g. 3 seconds (I can't imagine many people have page transitions lasting more than 3 seconds).
- Have an internal function that checks if a logic block has been added to disable NEXT when Timeline starts on the next slide, and make that trigger take effect when the page transition starts, not when the Timeline starts.
- Add a global option somewhere to have NEXT always disabled by default until custom logic says otherwise.
- JudyNolletSuper Hero
Are you using Transitions between slides? That impacts what the program sees as "when the timeline starts." In other words, it allows Next to be available during the Transition.