I have a search form that intakes a drop down, and 7 checkboxes. I want to use the search as a filter, so that anything that meets all of the boxes checked will be return. I’ve been using the do_shortcode, but the problem is that unchecked checkboxes return empty, and then I only see results for participants who DON’T have those things checked, instead of just ignoring a field if unchecked. Basically, I want the filter=”stuff” to only include arguments when the box has been checked, and not include an empty argument like field=&nextfield=& etc. Suggestions? Maybe something with php making if(empty) arguments?
- The topic ‘Complex search with checkboxes’ is closed to new replies.