View Full Version : Multiple categories selection on search form
If multiple categories are enabled in Zoom, the resultant search form allows multiple category selection.
However, if this functionality is used, the "All" categories checkbox remains ticked, which kind of defeats the purpose.
Is it possible to code the search form such that if individual or multiple categories are checked, the "All" category automatically becomes unchecked? Or should this be raised as a bug?
wrensoft
05-12-2008, 09:52 PM
"All" is selected as a default.
If the user wants other categories then they need to select (or unselected) the ones they want or don't want.
If you don't allow multiple category selection, then selecting any single categories will automatically deselect the others.
If you have multiple category selection on is probably also possible to write some Javascript code to auto-select/deselect categories based on other selections, but we don't have any code written to do this.
Is it possible to code the search form such that if individual or multiple categories are checked, the "All" category automatically becomes unchecked? Or should this be raised as a bug?
It's not a bug. What you describe requires the use of Javascript, (which you are free to add yourself), on the search form. We have avoided providing this as part of the default search form because we have to make sure the form works universally and our priority is compatibility with different websites. Most people have other Javascripts running on their page, and mixing JS together is often not easy. We leave this off so that novice web developers can have a working form without trouble, and experienced developers can add their own JS as required.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.