Forums

filter on two or more values

t3living 11 Mar, 2016
I want to filter a Connection display based on the "OR" of two or more values.
I have a field rq.type which can be "learn", "coach", or "mentor"
I have a check box input placed in the header that allows you to select learn, coach, or mentor and the list filters appropriately.
I'd like the user to be able to check more than one box so that the filter was a combination such as "learn or coach" or "learn or coach or mentor"

my checkbox header code is

<label class="checkbox inline">
  <input type="checkbox" id="inCB1" name="fltr[rq][type]" value="learn"> Learn
</label>
<label class="checkbox inline">
  <input type="checkbox" id="inCB2" name="fltr[rq][type]" value="coach">Coach
</label>
<label class="checkbox inline">
  <input type="checkbox" id="inCB3" name="fltr[rq][type]" value="mentor">Mentor
</label>
<input type="submit" name="submit" value="Submit" />


in the filter field i have

rq.type
This topic is locked and no more replies can be posted.