You are here

function ajax_invoke_validate_fail in Ajax 6

Invokes hooks: ajax_validate_fail

Parameters

$form Assoc:

$form_state Assoc:

$data Assoc:

$pass Bool:

Return value

Bool

1 call to ajax_invoke_validate_fail()
ajax_validator in ./ajax.module
Validation handler callback

File

./ajax.module, line 396

Code

function ajax_invoke_validate_fail(&$form, &$form_state, &$data) {
  $hook = 'ajax_validate_fail';
  foreach (module_implements($hook) as $name) {
    $function = $name . '_' . $hook;
    $result = $function($form, $form_state, $data);
  }
  return TRUE;
}