Move to Next Step when timer reaches 0
-
Hello,
I was looking for a solution to add a quiz to my website and came across your plugin – beautiful plugin – functions exactly as intended!
One of my requirements was adding a timer to the quiz questions, and when the timer reaches 0, it would submit the answers and move to the next step. I’ve managed to get this partly working.
Using some Javascript, once the timer reaches 0, it performs the following function:
document.getElementsByClassName(“wpcf7-form”)[0].submit();This executes partly as I had intended when the timer reaches 0, however, rather than redirecting to the next step, it refreshes the page and says “Thank you for your message. It has been sent.”
Is there something specific that it needs to be changed to in order to have it move to the next step instead?
- The topic ‘Move to Next Step when timer reaches 0’ is closed to new replies.