Forums Forums Search & Filter Pro Issue: Plugin breaks when search form is added into a jQuery wizard

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #17958

    Hi..

    I have an issue where the functionality of the SFP plugin breaks when I add the search form code into a jQuery wizard.
    I wonder if it is due to a conflict with the JS that runs the wizard? It must be, since the functionality comes back if I move the search form code out of the wizard.

    So what happens? let me explain:
    Ajax call is never sent, and if I submit the form, I get redirected to “http://domain.com/sample-page/sfid=”

    The jQuery wizard I am working with is this (the basic!): http://www.jquery-steps.com/Examples

    Why am I even doing this? Let me explain:
    I simply want to create a wizard with a few steps that users can take. In each step, there is an input. Does it make sense?

    All right, I hope someone can give me a clue as to how to move on here.

    Have a wonderful day,

    Jens, Denmark

    Ross Moderator
    #18003

    Hey Jens

    Ok, well I can give some rough information that will hopefully help – but I am completely unfamiliar with that.

    Basically, when the page loads, S&F loads its scripts and runs. The search form is actually never submitted – but some fancy JS is run and an ajax request is made (or a page redirect).

    Either, the html for the search form is not actually present in the page, and when you get on the correct “step” you need to re-initialse the code from the search form, or its possible the JS is not being included at all,

    Check your page source for search-filter-build.js and ensure it is present your html.

    Also check for any JS errors in the console and see what is happening there.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)