Reply To: "Loading" step / Auto advance

Home Forums Quform WordPress "Loading" step / Auto advance Reply To: "Loading" step / Auto advance

#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.

Be inspired. © 2019 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy