I've got an advanced search set up on my site, using Solspace's Supersearch, in which I'd like to filter the results based on input from multiple checkboxes associated with a single field. The code is based on the following format:
<form method="post" action="{path='search/results'}/" id="adv-form">
<input type="hidden" name="csrf_token" value="{csrf_token}" />
<input type="hidden" name="inclusive_keywords" value="no" />
<input type="hidden" name="redirect_post" value="yes" />
<label><input type="checkbox" name="my_field_name[]" value="value1" />Value 1 </label>
<label><input type="checkbox" name="my_field_name[]" value="value2" />Value 2 </label>
<label><input type="checkbox" name="my_field_name[]" value="value3" />Value 3 </label>
<label><input type="checkbox" name="my_field_name[]" value="value4" />Value 4 </label>
<input type="submit" class="submit" id="submit" name="submit_adv" value="Search Our Directory"/>
</form>
I have entries with "Value 1" checked and no entries with "Value 2" checked. Searching for "Value 1" works, searching for "Value 2" gives me no results which is also fine. The problem is that when both "Value 1" and "Value 2" are checked my results are filtered for "Value 1" when I would expect it to give me no results.