You are here

function answers_start_ask_submit in Answers 6

Same name and namespace in other branches
  1. 7 includes/answers.search.inc \answers_start_ask_submit()
  2. 7.2 includes/answers.search.inc \answers_start_ask_submit()
1 string reference to 'answers_start_ask_submit'
answers_start_ask_form in includes/answers.search.inc

File

includes/answers.search.inc, line 54
Search functions for the 'Answers' module

Code

function answers_start_ask_submit($form, &$form_state) {
  $question = check_plain($form_state['values']['question']);
  $form_state['redirect'] = array(
    'questions/continue_ask',
    array(
      'keys' => $question,
    ),
  );
}