Drupal Association members fund grants that make connections all over the world.
i have a view with an exposed term filter. I need to insert other (non-term) values into the select list and programmatically process when one of these fake selections is submitted.
but insert (via form alter):
so i now end up with:
- Spring 2013
- Fall 2013
- Winter 2014
- Spring 2014
tricky part is that if user selects 2014, i will automatically be submitting the tids for Winter 2014 and Spring 2014.
i can use form_alter to modify the select list and:
if i set my exposed filter to accept multiple selections
- then i can use hook_views_pre_build and $_GET['field_term_tid'] = $tids; to set multiple tid vaues and this all works.. :)
but, i need this to be a single select field
- then this no longer works
is there some other views hook that i can use to manipulate this after views has blocked my multiple selections for a single only allowed filter?