Using FAPI's storage mechanism in custom node type forms
mscdex - March 27, 2008 - 19:58
I have a question about coding forms for custom node types. The examples i've found thus far have the _form() function have &$node as a parameter, whereas regular FAPI forms have &$form and $form_state as parameters. Can I use $form_state in my custom node type's form? I'm specifically looking to utilize $form_state['storage'] to persist my own data between steps.

$param
The second parameter of hook_form is $form_state. See node_form() and node_invoke(). However, changes made to this variable will have no effect. I'll fix the documentation now.