title: Drupal FAPI: Add form elements on nodeform after validation
body: <p>I use Drupal 6.x. In my own module I alter each node form an add my own validation handler to it using</p>
  
  <pre><code>$form['#validate'][] = 'my_own_validation_function';
  </code></pre>
  
  <p>Then I have the function</p>
  
  <pre><code>function my_own_validation_function($form, &amp;$form_state)
  {
    //if validation fails, i would like to rebuild the form to add additional form elements in hook_form_alter
    $form_state['rebuild'] = True;
  }
  </code></pre>
  
  <p>My problem ist, that the validation functions does not respect my 'rebuild' = True becaus the form is never processed by hook_form_alter after validation. But I need hook_form_alter to add my additional form element.</p>
  
  <p>Is there a solution for my problem? Or are form_state changes in an own validation handler not respected even if I set &amp;$form_state as a "pointer"?</p>
  
  <p>Thanks and cheers.</p>