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 Damon - February 10, 2014

Hi,

Searches on multi-value list fields should work in CMS Builder. I tested locally and it works for me.

Is the multi-value dropdown with choices "interior, exterior, service, product, etc." just the labels or the actual values stored in the database?

Also, what version of CMS Builder are you using?

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

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