You are here

function casetracker_case_edit_form_validate in Case Tracker 7.2

Form API validate callback for the casetracker_case form

1 string reference to 'casetracker_case_edit_form_validate'
casetracker_case_edit_form in ./casetracker_case.inc
Form callback: create or edit a casetracker_case.

File

./casetracker_case.inc, line 248
This file concentrates all general functionality related to Cases in Case Tracker, leaving to the other files in /admin the stuff related to CRUD and structural configuration

Code

function casetracker_case_edit_form_validate(&$form, &$form_state) {
  $case = $form_state['casetracker_case'];

  // Notify field widgets to validate their data.
  field_attach_form_validate('casetracker_case', $case, $form, $form_state);
}