You are here

function answers_start_ask_form in Answers 7

Same name and namespace in other branches
  1. 6.2 includes/answers.search.inc \answers_start_ask_form()
  2. 6 includes/answers.search.inc \answers_start_ask_form()
  3. 7.2 includes/answers.search.inc \answers_start_ask_form()
  4. 7.3 includes/answers.search.inc \answers_start_ask_form()
1 string reference to 'answers_start_ask_form'
answers_menu in ./answers.module

File

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

Code

function answers_start_ask_form($form, &$form_state) {
  $form['question'] = array(
    '#type' => 'textfield',
    '#title' => 'Question',
    '#size' => 80,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Begin'),
    '#submit' => array(
      'answers_start_ask_submit',
    ),
  );
  return $form;
}