You are here

function fapi_validation_form_validate in Form API Validation 6

Validate the form searching for #rules and #filters params.

1 string reference to 'fapi_validation_form_validate'
fapi_validation_form_alter in ./fapi_validation.module
Implementation of hook_form_alter

File

./fapi_validation.module, line 17

Code

function fapi_validation_form_validate(&$form, &$form_state) {

  // Initializing register
  fapi_validation_register($form, NULL, $form_state);

  // Starting validation process
  _fapi_validation_element_validate($form, $form_state);

  // Updating $form_state
  $form_state = fapi_validation_register($form);
}