DanL posted an interesting way to do a dropdown-based entries search that I just can’t get to work. The post can be found here.
Here’s my code:
<form method="post" action="#">
TYPE
<select name="types">
<option value="">Select All</option>
<option value="Type 1">Type 1</option>
<option value="Type 2">Type 2</option>
</select>
LOCATION
<select name="locations">
<option value="">Select All</option>
<option value="Urban">Urban</option>
<option value="Rural">Rural</option>
</select>
BEDROOMS
<select name="bedrooms">
<option value="">Select All</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<input type="submit" src="/images/interface/submit.gif" border="0" alt="Submit">
</form>
{exp:channel:entries channel="property" search:house_type="{embed:types}" search:house_location="{embed:locations}" search:house_bed="{embed:bedrooms}"}
{title}
{/exp:channel:entries}This is my first time trying this sorting method, so I know I am missing something. Any help is greatly appreciated.
Thanks everyone!