Submit Button not working

Forums › Forums › Search & Filter Pro › Submit Button not working

Tagged: 

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #32233

    Dear Ross,

    I’m in my second year of using S&F pro with the “auto submit” functionality. So far so good!

    Now I have to switch to a submit-Button and include a reset-Button, but none of them works.
    I already checked the Standard WP-theme and everything works just fine.

    Any idea what could be wrong?

    Here’s my setup:
    – Custom Template
    – Template file uses shortcodes ( echo do_shortcode( '[searchandfilter id="846"]' ); )
    – S&F settings: display results as an archive

    Thanks for your help, kind regards

    Georg

    Ross Moderator
    #32243

    Hey Hans

    Do you have a link I could look at?

    Thanks

    Anonymous
    #32244
    This reply has been marked as private.
    Anonymous
    #32292
    This reply has been marked as private.
    Ross Moderator
    #32344

    Hi Hans

    It looks like the JS for the buttons is being removed.

    Those button should trigger the search form submitting, but their JS is simply not being fired.

    In js/jQuery terms, somewhere in your code you might have something targeting inputs – and using something like .off() (to remove all events) – or a preventDefault() or stopPropogation() to stop the JS functions being called.

    What happens when you change the reset button to use the link format?

    Thanks

    Anonymous
    #32410

    Thanks for pointing me in the right direction! Had a return false; somewhere doing its “magic”.

    Problem solved, case closed!

    Thanks and regards

    Georg

Viewing 6 posts – 1 through 6 (of 6 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.