[development] Submit handler not getting called

Nancy Wichmann nan_wich at bellsouth.net
Sat Aug 8 18:19:50 UTC 2009


I have this coded in my form:



  $form['created_before'] = array(
    '#title' => t('created before'),
    '#type' => 'date',
    '#validate' => 'date_validate',
    '#submit' => 'cmf_date_submit',
    '#default_value' => array('year' => date('Y'), 'month' => 12, 'day'
=>31),
    '#prefix' => '<div class="date-inline">',
    '#suffix' => '</div>',
    );

The validate function is being called, but the submit function is not. Yes,
there is a form submit button.

Why is the submit function not being called?

Nancy E. Wichmann, PMP

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090808/475fac5e/attachment.htm>


More information about the development mailing list