You are here

function gprofile_group_membership_validate in Group 7

Validate handler for editing profiles onto a membership.

1 string reference to 'gprofile_group_membership_validate'
gprofile_form_group_membership_form_alter in modules/gprofile/gprofile.module
Implements hook_form_FORM_ID_alter().

File

modules/gprofile/gprofile.module, line 81
Main module code for the Group member profiles project.

Code

function gprofile_group_membership_validate(&$form, &$form_state) {
  foreach ($form_state['gprofiles'] as $field_name => $gprofile) {
    field_attach_form_validate('gprofile', $gprofile, $form[$field_name], $form_state);
  }
}