You are here

function answers_question_form_submit in Answers 7.3

Implements submit callback for question_node form.

1 string reference to 'answers_question_form_submit'
answers_form_question_node_form_alter in ./answers.module
Implements hook_form_FORM_ID_alter() for question_node_form().

File

./answers.module, line 269

Code

function answers_question_form_submit($form, &$form_state) {
  $form_state['values']['field_answer_count']['und']['count'] = 0;
}