Home › Forums › Quform WordPress › "Loading" step / Auto advance › Reply To: "Loading" step / Auto advance
October 10, 2019 at 12:18 pm #30060
adg_domme
Participant
I digged a bit deeper. Actually, I’m trying to execute some JavaScript only on a certain page/step of the form, so it automatically advances to the next step after 5 seconds.
<script>
setTimeout(function() {
$('.quform-form-1').data('quform').goToPage(40);
}, 5000);
</script>
I added that code to the according step of the form via a HTML element. However, if I open the form (running in a popup), the code gets executed immediately and not when on the page/step that contains the code.