I have a Field Pack - Checkbox field (named doctors_schedule_now) with the following values:
nephrology : Nephrology pediatric-nephrology : Pediatric Nephrology
In my entry, I'm checking the box for Nephrology. This populates in my DB field like this:
Then I'm using Low Search to search in this custom field. This is the parameter I'm passing in the exp:low_search:results tag:
This search parameter will return entries that have both "pediatric-nephrology" and "nephrology" checkboxes chosen. This is not what I want, so I modified the search parameter like this (with exact matching):
This will return only entries with the "nephrology" checkbox chosen - great! But wait. If I choose both checkboxes - "nephrology" and "pediatric-nephrology", it populates my DB like this:
Now I can no longer use the exact parameter because the field has multiple values. And, I still need to return entries ONLY entries with "nephrology" chosen. So, I cannot use the parameter like this:
Because it returns entries that have either "nephrology" OR "pediatric-nephrology" checkboxes chosen. In other words, this search parameter returns not only "nephrology" but also "pediatric-nephrology"