Change from checkbox to multiple select in Search Results
I had a checkbox on my search form that worked great like this:
<input type="checkbox" name="subdivision[]" id="ABACO BAY" value="ABACO BAY" />ABACO BAY
I recently changed this to a multiple select due to the amount of checkboxes to make it easier for the user like this:
<select name="subdivision[]" id="subdivision[]" class="selectivity-input" data-placeholder="..." multiple>
<option id="Alamar Village" value="Alamar Village" />Alamar Village</option>
<option id="Alejandria Es" value="Alejandria Es" />Alejandria Es</option>
The logic in the results page is like this and is no longer working? What do I need to change to allow for this to work correctly? I tried with an without [] and it did not help.
Results:
$WADbSearch1->addComparisonFromList("subdivision","subdivision","AND","=",0);