PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Any way to make search fields 'required' ?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

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

Hello Kuldeep

Unfortunately, the plugin does not have such a feature. You need customization of the code