Forums Forums Search & Filter Pro text search to clear the filters selected

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #259870

    Hi,

    We would like to change the functionality of the text search box so that when something is entered into it, it essentially just searches for that text and clears the filters previously selected. I am using the “use a shortcode” method, with ajax on and taking me to a custom url. So i could see that when something is entered in the text search box it adds a parameter to the URL like so:-

    https://www.mydomain.com/makers/?_sf_s=something

    If other filters are selected you get other parameters in the url. So i thought i could intercept the form submission, check if something is entered in the text input field and then redirect to the search results page with only the “_sf_s” parameter set. Is it possible to do this and if so can you point me in the right direction please? I know how to intercept form submissions with jQuery or raw javascript if necessary and i want to do it in a way that updates to the plugin wont remove the override. Either that or is there a setting to change the behaviour of the text field?

    Thanks in advance

    Trevor
    #260019
    This reply has been marked as private.
    Anonymous
    #260063
    This reply has been marked as private.
    Ross Moderator
    #260443
    This reply has been marked as private.
    Ross Moderator
    #260447
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)