You are here

function support_search_form_submit in Support Ticketing System 6

Same name and namespace in other branches
  1. 7 support.module \support_search_form_submit()
1 string reference to 'support_search_form_submit'
support_form_alter in ./support.module
Customize comment form for ticket followups.

File

./support.module, line 1895
support.module

Code

function support_search_form_submit($form, &$form_state) {
  $form_id = $form['form_id']['#value'];
  $form_state['redirect'] = 'search/support/' . trim($form_state['values'][$form_id]);
}