You are here

function multiform_delayed_submit_prepare in Multiple forms 7.2

Store $subform_form and $subform_state structure for further processing (delayed submit).

1 call to multiform_delayed_submit_prepare()
multiform_get_form in ./multiform.module
Returns a form containing a number of other forms.

File

./multiform.inc, line 94

Code

function multiform_delayed_submit_prepare(&$multiform, $subform_form, $subform_state, $subform_id, $unprocessed_subform) {

  // Store data for further processing
  $multiform['#subforms'][$subform_id] = array(
    'form' => $subform_form,
    'form_state' => $subform_state,
    'unprocessed_form' => $unprocessed_subform,
  );
}