<p><a href="http://api.drupal.org/api/drupal/includes%21form.inc/function/form_load_include/7">http://api.drupal.org/api/drupal/includes%21form.inc/function/form_load_include/7</a> might help, although I also suspect something is wrong with setting the submit function.</p>

<div class="gmail_quote">On Feb 1, 2013 2:25 AM, &quot;Metzler, David&quot; &lt;<a href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<u></u><u></u><u></u>

<div lang="EN-US" link="blue" vlink="blue">
<div>
<p class="MsoNormal"><u></u><u></u><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Nancy</span></font><u></u><u></u><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">,
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">I’m starting to believe that the problem is that the #submit handler is not wired correctly to  this form. If require_once  failed it
 would throw a hard error and no form would render.  This means that the function that the form handler thinks is the submit handler is not the same as the one you think it is. I think the include is not the problem or the form wouldn’t render.
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Is it possible that something is overriding the submit handler.  #submit attributes on the form in drupal 7 might do that.
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Are you using 6 or 7?
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">$form_state[‘rebuild’] sets in the validation handler might cause this.
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">$form_state[‘storage’] sets in the validation handler in D6 might also cause this.
<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Dave<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"><u></u> <u></u></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> <a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org" target="_blank">support-bounces@drupal.org</a>]
<b><span style="font-weight:bold">On Behalf Of </span></b><u></u>Ms. Nancy Wichmann<u></u><br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, January 31, 2013 4:49 PM<br>
<b><span style="font-weight:bold">To:</span></b> <u></u><a href="mailto:support@drupal.org" target="_blank">support@drupal.org</a><u></u><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [support] Form submission problem</span></font><u></u><u></u></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><u></u> <u></u></span></font></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial">In hook_node_view(), I have:</span><u></u><u></u></font></p>
</div>
<span><span><span>
<div>
<p class="MsoNormal"><font color="black" face="Courier New"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">  require_once DRUPAL_ROOT . &#39;/&#39; . drupal_get_path(&#39;module&#39;, &#39;mymodule&#39;) . &#39;/</span><span><span>mymodule</span>.pages.inc&#39;;<br>

  $form = drupal_get_form(&#39;</span><span><span>mymodule</span>_tab_form&#39;, $node, $</span><span><span>mymodule</span>-&gt;wid,
 $states, $current);<br>
  $form[&#39;#weight&#39;] = 99;<br>
<br>
  $node-&gt;content[&#39;</span><span><span>mymodule</span>&#39;] = $form;<br>
<br>
</span></font><font color="black" face="Arial"><span style="font-family:Arial"></span><u></u><u></u></font></p></div></span>
</span></span></div>

<div>
<p class="MsoNormal"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial">I&#39;m guessing that this technically makes the form part of the main module, while the submission handler is still in the .inc file.<u></u><u></u></span></font></p>

</div>
<div>
<p class="MsoNormal"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial">BTW, I even tried adding the .inc file name to the .info file. No help.<br>
<br>
<u></u><u></u></span></font></p>
</div>
<span></span><span>
<div>
<p class="MsoNormal"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial"><br>
<br>
<u></u><u></u></span></font></p>
</div>
</span>
<div>
<p class="MsoNormal" style="background:white"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial"> <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><u></u><u></u><b><i><font size="4" color="#ff007f" face="Bookman Old Style"><span style="font-size:13.5pt;font-family:&quot;Bookman Old Style&quot;;color:#ff007f;font-weight:bold;font-style:italic">Nancy</span></font></i></b><u></u><u></u><font color="black" face="Arial"><span style="font-family:Arial">
<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.<u></u><u></u></span></font></p>

</div>
<div>
<p class="MsoNormal" style="background:white"><font size="3" color="black" face="Arial"><span style="font-size:12.0pt;font-family:Arial"><br>
<br>
<u></u><u></u></span></font></p>
<div>
<div>
<div>
<div class="MsoNormal" align="center" style="text-align:center;background:white">
<font color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial">
<hr size="1" width="100%" align="center">
</span></font></div>
<p class="MsoNormal" style="background:white"><b><font color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;font-weight:bold">From:</span></font></b><font color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial">
 Earnie Boyd &lt;<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>&gt;<br>
<b><span style="font-weight:bold">To:</span></b> <u></u><a href="mailto:support@drupal.org" target="_blank">support@drupal.org</a><u></u>
<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, January 31, 2013 1:35 PM<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [support] Form submission problem</span></font><font color="black"><span style><u></u><u></u></span></font></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt"><br>
On Thu, Jan 31, 2013 at 12:27 PM, <u></u>Ms. Nancy Wichmann<u></u> wrote:<br>
&gt; In a module, I am using drupal_get_form() to load a form from a .inc file.<br>
&gt; That works fine. But when it is submitted, the submission handler can&#39;t be<br>
&gt; found; it&#39;s also in the .inc file. How do I get around this?<br>
<br>
Uh, I thought that was how it should be done.  Can you give us a mock<br>
up of your form and menu item?<br>
<br>
-- <br>
Earnie<br>
-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>
-- <br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
<u></u><u></u></span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>


<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div>