Skip Navigation

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

This support ticket is created Il y a 6 années et 9 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Ce sujet contient 1 réponse, a 1 voix.

Dernière mise à jour par PaulS4783 Il y a 6 années et 9 mois.

Auteur
Publications
#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.