Im using Drupal 6 and the multistep module :
I need to display informations in a block apart when my users wether add or edit some of the available multistep forms :
. there's a block that shows up with an EDIT title when EDITING an existing node with information within it for this case :
only shows up when : node/*/edit* page
. there's a block that shows up with a CREATE title when ADDING a node :
only shows up when : node/add/multistep-content-A* node/add/multistep-content-B* node/*/edit*
node//edit is necessary for ADDING since when the user finishes the first step of the form, the node is saved and the link which was node/add/m-c-A turns into node/nid/edit.
in both block I use a bit of php ( url arg(), $node) to check content type, to retrieve node info if exists, to decide wether show info for ADDING cases or for EDITING cases. (as there's nothing to show, the entire block DIV does not show up)
I would need to recognize the ADDING case after step 2 of the form... when the node is created but when the progress bar is lesser than 100%.
in other words, to retrieve the 'completion status' argument from the multistep module, the one that tells the progress bar if the form is completed or not.
it appears it's not in the $node array.. ?
EDIT : found a trick, see comment 2.