You are here

function rules_forms_event_validate in Rules 6

Validation handler to invoke "form validate" events

1 string reference to 'rules_forms_event_validate'
rules_forms_after_build in rules_forms/rules_forms.module
Add element IDs on the form if the setting is enabled. Add submit and validation callbacks to form, buttons, etc. to invoke corresponding events.

File

rules_forms/rules_forms.module, line 76
Rules forms module.

Code

function rules_forms_event_validate(&$form, &$form_state) {
  rules_forms_invoke_event('form_validate', $form, $form_state);
}