function ahah_example_autotextfields_submit in Examples for Developers 6
Submit handler for autotextfields. 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_autotextfields.inc, line 72  - Show/hide textfields based on checkbox clicks.
 
Code
function ahah_example_autotextfields_submit($form, &$form_state) {
  if (!empty($form_state['ahah_submission'])) {
    return;
  }
  // Continue to handle submit processing.
}