You are here

function crm_core_contact_ui_form_validate in CRM Core 7

Validation callback for crm_core_contact_ui_form().

1 string reference to 'crm_core_contact_ui_form_validate'
crm_core_contact_ui_form in modules/crm_core_contact_ui/crm_core_contact_ui.pages.inc
Form callback: create or edit a contact.

File

modules/crm_core_contact_ui/crm_core_contact_ui.pages.inc, line 105

Code

function crm_core_contact_ui_form_validate($form, &$form_state) {
  $contact = $form_state['crm_core_contact'];

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