DataAssist Search from checkbox
Hi Jason,
I have setup a search thru the search wizard where multiple checkboxes can be selected.
search-clothes.php
The checkboxes have the same name lettersize[] and correctly returns the records from one checkbox (example size 6(S) is checked and those items are shown on the results) if I select size 6(S) and size 8(M) only items from ONE of the selections are shown.
The results page must not be set correctly. Here is the comparison list in the code:
$WADbSearch1->addComparisonFromCheck("lettersize","lettersize","".((isset($_POST["lettersize"]))?$_POST["lettersize"]:"") ."","","AND","=","<>",1);
$WADbSearch1->addComparison("items.ItemCatID","".((isset($_POST["ItemCate"]))?$_POST["ItemCate"]:"") ."","AND","=",1);
Should this be set for Keyword?
thx
Eric