You are here

function multiform_form_after_build in Multiple forms 7.2

Multiform subform #after_build.

1 string reference to 'multiform_form_after_build'
multiform_form_alter in ./multiform.module
Implements hook_form_alter().

File

./multiform.module, line 183

Code

function multiform_form_after_build(&$form, &$form_state) {

  // Hide sharedfields if any.
  multiform_sharedfields_process(NULL, $form, $form_state);
  $form_id = $form_state['#subform_index'];
  _multiform_get_form($form, $form_id);
  multiform_multiform_ids($form_id);
  return $form;
}