Yes. For each form you create, you can define a _validate() and _submit() function. If no errors are found in the _validate() function, then the _submit() function is called.
You don't specify any single submit-function to call upon form submit-action. You add a submit-function name to the list of called submit-functions for that form, and this will be correct. See also the form API reference, #submit, for more on this!
Comments
Yes. For each form you
Yes. For each form you create, you can define a _validate() and _submit() function. If no errors are found in the _validate() function, then the _submit() function is called.
http://api.drupal.org/api/drupal/includes!form.inc/group/form_api/7
Contact me to contract me for D7 -> D10/11 migrations.
This is partly correct!
You don't specify any single submit-function to call upon form submit-action. You add a submit-function name to the list of called submit-functions for that form, and this will be correct. See also the form API reference, #submit, for more on this!