You are here

function botcha_point_admin_form_submit in BOTCHA Spam Prevention 7

Same name and namespace in other branches
  1. 6 botcha.pages.inc \botcha_point_admin_form_submit()

Submit function for botcha_point_admin_form.

File

./botcha.pages.inc, line 374
Implementation of botcha administration forms.

Code

function botcha_point_admin_form_submit($form, $form_state) {

  //?  module_load_include('inc', 'botcha');
  $botcha_point_form_id = $form_state['values']['botcha_point_form_id'];
  $botcha_type = $form_state['values']['botcha_type'];
  botcha_set_form_id_setting($botcha_point_form_id, $botcha_type);
  drupal_set_message(t('Saved BOTCHA point settings.'), 'status');
}