? nodeapi_example.patch
Index: nodeapi_example/nodeapi_example.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/examples/nodeapi_example/nodeapi_example.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 nodeapi_example.module
--- nodeapi_example/nodeapi_example.module	3 Oct 2009 16:30:07 -0000	1.1.2.1
+++ nodeapi_example/nodeapi_example.module	27 Oct 2010 00:04:52 -0000
@@ -39,6 +39,10 @@ function nodeapi_example_form_alter(&$fo
     // into the form.
     $node = $form['#node'];
     if (variable_get('nodeapi_example_'. $form['type']['#value'], 0)) {
+    // Note that $form['nodeapi_example_rating'] will become
+    // $node->nodeapi_example_rating in hook_nodeapi validate op
+    // This also means that if there is a fieldgroup defined,
+    // $form['group']['field'], that it will become $node->field.
       $form['nodeapi_example_rating'] = array(
         '#type' => 'select',
         '#title' => t('Rating'),
