Filter category list to display records associated with a multi-select options from a drop down list.

14 posts by 3 authors in: Forums > CMS Builder
Last Post: October 29, 2018   (RSS)

By leo - May 9, 2018

Hi Zicky,

FYI, if(preg_match("/1/", $categoryRecord['catering_menu_type'])) will also pass values like "11" or "100" because it only checks if 1 exists in a string. You may want to check "/\t1\t/" to be more precise.

Leo - PHP Programmer (in training)
interactivetools.com

By Mikey - May 9, 2018

Thanks for the guidance Leo. I made the changes you suggested.

I appreciate all your help!!

Zicky

Hi Zicky,

I'm planning to use the related records plugin and then I realized that my last version was dated 2010. :-(

Do you have a version that's been updated since?

Thanks,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php