I have a series of checkbox like so:
<fieldset data-role="controlgroup">
{% for option in craft.fields.getFieldByHandle('area').getFieldType.options %}
<input type="checkbox" name="area[]" value="{{ option.value }}" class="bg-white h-4 w-4 tickbox template_filters" />
<label>{{ option.label }}</label>
{% endfor %}
</fieldset>
I want to the user to be able to select multiple but only pass through as a single parameter in a query string.
At the moment selecting multiple results in:
http://localhost:8080/directories/case-studies/?area=africa&area=europe&area=asia
Naturally this only filters my results on the last query (asia)
How can I accomplish a search on all three either merging the queries before submission i.e ?area=africa,europe,asia
OR to keep all versions but append the results to merge the query strings?