Hello,

I'm trying to split a CCK field into a few pieces, so I can present a user with different parts of the field on different pages.

So I create a page,

function projectadmin_create_page(){
$form = drupal_get_form('projectcreate_form');
return theme('projectform', $form);
}

And define my form like so...

function projectcreate_form(){
require("modules/node/node.pages.inc");
$form_state = array();
$nodeType = 'project';
$form_id = $nodeType . '_node_form';
$node = array('type' => $nodeType, 'uid' => $GLOBALS['user']->uid, 'name' => $GLOBALS['user']->uid);
$form = drupal_retrieve_form($form_id, $form_state, $node);
drupal_prepare_form($form_id, $form, $form_state);
// Here I'll just unset a field, but in reality, I might remove many
unset($form['menu']);
return $form;
}

But when I submit the form on the template, nothing happens (the same page returns, with no warnings or errors). I'd like to be able to use as much of the prebuilt CCK validation and submit functions as possible. How should I do this?

Thanks!