I have a list of entries and I want to refine the results based on a custom field and a category.
The custom field is rates_track
The category is working fine. but I want to combine my refinements so the user can choose a rates_track AND the category.
So say for example a user selects Track 2 and Category 28, it will refine the results to ONLY display results where the custom field “rates_track” is “Track 2” and the category is “28”
here is what I have so far: (the Choose track is not working, results are coming up blank)
<form method="post" action="{path="site/rates"}">
<select name="rates_track">
<option value="#">Choose Track</option>
<option value="Track 1">Track 1</option>
<option value="Track 2">Track 2</option>
<option value="Track 3">Track 3</option>
<option value="Track 4">Track 5</option>
<option value="Track 5">Track 5</option>
</select>
<select name="category">
<option value="#">Choose Type</option>
<option value="28|29" >All Types</option>
{exp:weblog:categories weblog="rates" style="nested" show_empty="no"}
<option value='{category_id}'>{category_name}</option>
{/exp:weblog:categories}
</select>
<input type="submit" value="Go!" />
</form>