I am creating a custom form which creates new nodes of type 'book'. I have been able to get the "book outline" to render on my form using
$nid = $node->nid ='nid'; module_load_include('inc', 'book', 'book.pages'); book_outline_form($form,$form_state,$node); _book_add_form_elements($form,$form_state, $node);
Can someone help me with this issue? Has anyone experienced this before?