reset multiple form in same page

Home Forums Quform WordPress reset multiple form in same page

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36258
    agartasarl
    Participant

    Hello,
    I have several forms on a single page and I need to reset all the forms at the same time.
    I used this code, but it crashes the page functionalities (for example the mouse scroll no longer works).

    $(‘.quform-form’).each(function(){
    $(this).data(‘quform’).reset();
    })

    Can you help me ?

    Additionally, as I have several forms on the same page, I don’t want there to be a scroll at the top of the page after submitting one of the forms (or after changing pages for a multi-step form).
    Do you know how to disable scrolling?

    thanks in advance

    #36262
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #36266
    agartasarl
    Participant

    Hello,
    thank you for your reply.
    The page crash problem is solved by deactivating scrolling. Everything is ok now.
    Thanks again !

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2022 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy