- This topic has 3 replies, 2 voices, and was last updated 6 years, 5 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Clear search when a new drop down item is selected
Tagged: dropdown, search reset
I have multiple drop-downs based on taxonomy. If i select a different taxonomy with one already selected, the query is appended to the previous selection. Is it supposed to work this way, or can I have it set to clear the previous result when a new selection is made?
careers/?_sft_sales=sales-operations-manager&_sft_product=user-researcher
Searches normally work this way, and it is the intended behavior of our search forms. What you are wanting is for the user to be able to select only ONE search term? If so, that can only be done with custom javascript, which, when one field/term is clicked, deselects any selections in the other fields.
Sorry, but I do not have an example I can give you, as I don’t think anyone has asked for this before.
You would need to employ a coder to do this for you.
If you could forgo the single reset button (and have either no reset button or one per field), you could set this up as a separate form for each field, and one form with all the fields – just to use that as the results shortcode.
That would do as you want. I am not sure if Ajax would work with that though.
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.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy