You are here

function crm_core_activity_form_validate in CRM Core 7

Validation callback for crm_activity_form.

1 string reference to 'crm_core_activity_form_validate'
crm_core_activity_form in modules/crm_core_activity_ui/
Form builder for CRM Core Activity forms.


modules/crm_core_activity_ui/, line 103
User page callbacks for the Activity UI module.


function crm_core_activity_form_validate($form, &$form_state) {
  $activity = $form_state['crm_core_activity'];

  // Notify field widgets to validate their data.
  field_attach_form_validate('crm_core_activity', $activity, $form, $form_state);