Skip Navigation

[Resolved] Parametric Ads Search – How to allow users to MULTI-SELECT taxonomy terms?

This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by PaulS4783 6 years, 9 months ago.

Author
Posts
#623233

In the classifieds reference site, I have changed "location" from a flat taxonomy to a hierarchical taxonomy.
I want to allow users to select two or more different location taxonomy terms from the drop down list for the Parametric Ads Search e.g. I would like to allow users to conduct a search for vehicles in Boston and Chicago but NOT Los Angles and New York. Default behavior with multi-select drop down boxes is that by holding down the SHIFT key and clicking options it is possible to do a multi-select search.

How can I edit the parametric search view to allow this?

#623240

Actually I figured this out by looking at the documentation.
https://toolset.com/documentation/user-guides/views-shortcodes/

type (opt):
'checkbox' | 'checkboxes' | 'date' | 'datepicker' | 'radios' | 'select' | 'textfield' | 'multi-select'
Control type to be displayed on your Custom search form. Defaults to the appropriate control type for the field type.

so "multi-select" or "checkboxes" works.