Create dropdown field to filter events by specified date range
I'd like to create a dropdown field to filter Low events by season. I like the result to be something like the following, but don't know how to get the date range in correctly, or if I'm on the right track:
{exp:low_search:form site="news_events" channel="schedule" show_empty="no" query="{segment_3}" result_page="/racing/test"}
<select name="search:schedule[]">
<option value="">Select Season</option>
<option value="2015-07-16 - 2016-01-15">Fall 2015</option>
<option value="2015-01-16 - 2015-07-15">Spring 2015</option>
<option value="2014-07-16 - 2015-01-15">Fall 2014</option>
<option value="2014-01-16 - 2014-07-15">Spring 2014</option>
</select>
<button type="submit">Search</button>
{/exp:low_search:form}
Thanks
Susan
Replies
Low 13 May 2015 08:16
You'd need to mimic the Low Events parameters. The date range you're after is a custom one, so you could use a custom date range.
Susan Wohlgemuth 13 May 2015 17:15
Thank you! That works perfectly.