You are here

function party_activity_form_validate in Party 7

Form API validate callback for the party_activity form

1 string reference to 'party_activity_form_validate'
party_activity_form in modules/party_activity/party_activity.admin.inc
Form callback: create or edit a activity.

File

modules/party_activity/party_activity.admin.inc, line 436
Party Activity editing UI

Code

function party_activity_form_validate(&$form, &$form_state) {
  $activity = $form_state['party_activity'];

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