You are here

function party_edit_form_validate in Party 7

Same name and namespace in other branches
  1. 8.2 party.pages.inc \party_edit_form_validate()

Validate the Party Edit Form

@todo: Add validation for all the attached entities

2 string references to 'party_edit_form_validate'
party_edit_form_form in plugins/content_types/party_edit_form.inc
Form
party_form in ./party.pages.inc
Party edit form.

File

./party.pages.inc, line 94
party.pages.inc

Code

function party_edit_form_validate($form, &$form_state) {
  $pseudo_entity = (object) $form_state['values'];
  field_attach_form_validate('party', $pseudo_entity, $form, $form_state);
}