You are here

function ahah_example_autocheckboxes_submit in Examples for Developers 6

Submit handler for autocheckboxes. Gets called even when our select is active, so we use the $form_state to determine whether the submit handler should actually do anything.

File

ahah_example/ahah_example_autocheckboxes.inc, line 59
A Self-configure a form based on a select control. Add the number of checkboxes specified in the select.

Code

function ahah_example_autocheckboxes_submit($form, &$form_state) {
  if (!empty($form_state['ahah_submission'])) {
    return;
  }

  // Continue to handle submit processing.
}