quform:goToPageStart

This is a JavaScript hook called when navigation between pages in the form.

1
2
3
4
5
jQuery(function ($) {
    $('.quform-form-1').on('quform:goToPageStart', function (e, form, $page, id, targetPageIndex) {
        // Custom code
    });
});
jQuery(function ($) {
    $('.quform-form-1').on('quform:goToPageStart', function (e, form, $page, id, targetPageIndex) {
        // Custom code
    });
});
  • On line 2, replace the number 1 with the form ID

Arguments

ArgumentDescription
eThe event data
formThe Quform instance
$pageThe jQuery object of the newly visible page
idThe ID of the newly visible page
targetPageIndexThe index of the newly visible page, within the list of pages
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy