kuldeepzala(@kuldeepzala)
1 Post
Customers
Quote from kuldeepzala on December 18, 2019, 12:54
Hi,
Firstly, thanks for this awesome plugin and all your efforts.
I need to make search query fields 'required' in one client project. I checked widget and plugin settings but couldn't find any option for this.
For example, I have 2 custom taxonomies - 'state' and 'month'. Attached screenshot - https://ibb.co/xJKYCMX
I added both of them in the 'Search Widget'. It works well. But I need to make a selection of both fields 'state' and 'month' mandatory while searching. Otherwise, if only 'state' is selected then it shows results for all months.
Is there any way to do it? Any settings?
Looking forward to hearing from you.
Thanks,
Kuldeep
Hi,
Firstly, thanks for this awesome plugin and all your efforts.
I need to make search query fields 'required' in one client project. I checked widget and plugin settings but couldn't find any option for this.
For example, I have 2 custom taxonomies - 'state' and 'month'. Attached screenshot - https://ibb.co/xJKYCMX
I added both of them in the 'Search Widget'. It works well. But I need to make a selection of both fields 'state' and 'month' mandatory while searching. Otherwise, if only 'state' is selected then it shows results for all months.
Is there any way to do it? Any settings?
Looking forward to hearing from you.
Thanks,
Kuldeep
Pablo Borysenco(@pavlo_borysenco)
29,383 Posts
Quote from Pablo Borysenco on December 19, 2019, 11:27
Hello Kuldeep
Unfortunately, the plugin does not have such a feature. You need customization of the code
Hello Kuldeep
Unfortunately, the plugin does not have such a feature. You need customization of the code