are multi-value searches still not working within CMSB?

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 10, 2014   (RSS)

By Codee - February 7, 2014

Hello IT,

Are searches on multi-value list fields still not available with CMSB?  I have a client with a field entitled "type" and a multi-value dropdown with choices like "interior, exterior, service, product, etc.".  If the list page is inventoryList.php, the browser url of

http://www.sitename.com/inventoryList.php?type=interior does not produce any filtered results.

By Codee - February 10, 2014

It's CMSB ver 2.53, build 1040.

The field is called "type" and it's a multi-pulldown list field with:

Countertops
Flooring
Interior
Exterior
Design Planning
Finish and Material Selection
Tools
Accessories
Construction Documentation
End-to-End Project Management
Other

As the current choices.

By Dave - February 10, 2014

Hi Terry, 

You can search for single values with the current version, just make sure inventoryList.php has 'allowSearch' => true,

And the latest beta (and upcoming release) supports OR searches for multiple values (as you'd have if you selected multiple values from an <select name="type" multiple="multiple" size="3"> type of multiple value list) if you add square brackets before the =  eg: inventoryList.php?type[]=interior&type[]=exterior OR if you add them in the name of the select as name="type[]".

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com