You are here

function captcha_point_admin_form_submit in CAPTCHA 7

Same name and namespace in other branches
  1. 5.3 captcha.module \captcha_point_admin_form_submit()
  2. 6.2 captcha.admin.inc \captcha_point_admin_form_submit()
  3. 6 captcha.admin.inc \captcha_point_admin_form_submit()

Submit function for captcha_point_admin_form.

File

./captcha.admin.inc, line 505
Functionality and helper functions for CAPTCHA administration.

Code

function captcha_point_admin_form_submit($form, $form_state) {
  $captcha_point_form_id = $form_state['values']['captcha_point_form_id'];
  $captcha_type = $form_state['values']['captcha_type'];
  captcha_set_form_id_setting($captcha_point_form_id, $captcha_type);
  drupal_set_message(t('Saved CAPTCHA point settings.'), 'status');
}