function captcha_after_form_validate in CAPTCHA After 7
Same name and namespace in other branches
- 6 captcha_after.module \captcha_after_form_validate()
Form is validated.
1 string reference to 'captcha_after_form_validate'
- captcha_after_form_alter in ./
captcha_after.module - Implementation of hook_form_alter().
File
- ./
captcha_after.module, line 72 - Show CAPTCHA protection on selected forms after specified number of unsuccessful form submit attempts has been made.
Code
function captcha_after_form_validate($form, &$form_state) {
// Form is submited - lets increment flood counter.
flood_register_event('captcha_after_' . $form['form_id']['#value']);
}