Yes, modules also have weight in the system table which effects their run time order.<br><br><div class="gmail_quote">On Sun, Sep 6, 2009 at 8:03 PM, Jeff Greenberg <span dir="ltr">&lt;<a href="mailto:jeff@ayendesigns.com">jeff@ayendesigns.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jerad Bitner wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at &#39;#weight&#39;<br>
<br>
</blockquote>
Ok, I&#39;ve changed my hook to include weights for all the fields I&#39;m adding, as well as adding weights to the existing fields.<br>
<br>
The problem I&#39;m having is that when I dump the form at the time of my hook, the captcha field doesn&#39;t exist yet as far as $form is concerned, but somewhere between my hooking it and the form appearing, the captcha field is present (the captcha module uses hook_form_alter).  The problem is that the captcha module is putting its field after the name field, which is right at the top of the form. If I assign a weight to it in my hook (keeping in mind the [&#39;captcha&#39;] field doesn&#39;t exist yet when I do that) the captcha doesn&#39;t show up at all.<br>

<br>
Is there a way I can be the last one to modify the form, so that the captcha field already exists and I can change its weight?<br>
</blockquote></div><br>