You are here

function party_activity_edit_form_validate in Party 8.2

Form API validate callback for the party_activity form

1 string reference to 'party_activity_edit_form_validate'
party_activity_edit_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 227
Party Activity editing UI

Code

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

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