- February 6, 2017 at 4:49 pm #11823
I have 2 questions:
1) I want to know if its possible to have the search terms filter the options boxes as the user types into the search area. So for example, I have the category of housing with subcategory of apartments, condos, cabins. When the user starts typing “c” can the check boxes on the term selector refresh to only have condos and cabins as checked since apartments does not start with a “c”?
2) how do I not show results until the user presses enter or clicks on the search icon?February 6, 2017 at 5:39 pm #11825
I figured out part 2) … no need to reply to that one, thanksFebruary 7, 2017 at 11:27 am #11837
Here is how I would do it: Make a script handler, that watches the search phrase, and it the so-far typed in phrase matches any of the selectors, check them, if not, then check all instead.
I’ve come up with the following solution:
Place it into the functions.php file in your active theme directory. It worked on my test server, let’s hope it works on yours too.Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.