I have several subforms that are part of a larger form. I only want to save the data from some of the subforms under certain conditions - like whether the user is logged in or not, for example. So all of the buttons of the subforms are hidden, and I need to process the subforms inside the submit function for the overall form.

The trouble is that the submit handlers for node forms in d6 are attached to the "Save" button, not to the form. I'm hoping maybe someone will have some ideas about how to run those. Right now I am just explicitly calling the ones I know about, like node_form_submit, but that doesn't seem like a very good approach.