Skip to content
Snippets Groups Projects
Unverified Commit 0f27d4de authored by Michael Lee's avatar Michael Lee Committed by GitHub
Browse files

Merge pull request #518 from ASCWebServices/canini-3

Discover Your Path bug fix
parents ca794433 435a9bda
No related branches found
No related tags found
No related merge requests found
...@@ -309,6 +309,12 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $ ...@@ -309,6 +309,12 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $
} }
} }
//discover you path
if ($form['#id'] == 'views-exposed-form-discover-your-path-page-1') {
//resets program to 'All' on submit so that program numbers don't zero out
$form['field_ap_program_target_id']['#value'] = 'All';
}
//events //events
if ($form['#id'] == 'views-exposed-form-events-page-1') { if ($form['#id'] == 'views-exposed-form-events-page-1') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment