4

Form submit function not called

http://drupal.org

I have created a module and a form. The form is presented properly, including the data from the records it manages (using the xxx_load function and URL wildcards). The form validate function gets called properly. But my submit function is not called. I do have a submit element in the form, but in the HTML rendered page it shows up as a submit-type button with the name 'op'. My suspicion is that this is the reason my submit function is not called. Furthermore, when I press the submit button, the same form is shown again (with changed data), even if I add a 'redirect' element to my form. There are no error messages, not on screen, nor in the reports.

Using D6.9

What have I already ruled out:
- Nowhere in my own modules or in the template.php do I execute a hook_form_alter() on this form.
- The function names are proper and the parameter lists are as is described in the FAPI 6.x documentation

I have searched the web extensively, but cannot resolve my issue. Can anyone point me in the right direction?

Thanx.

Read »
Created by Dplanet 2 years 18 weeks ago
Category: Modules   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Best published scoops - Modules

Tags for Form submit function not called

Recent comments