On 7/1/06, <b class="gmail_sendername">Augustin (a.k.a. Beginner)</b> &lt;<a href="mailto:drupal.beginner@wechange.org">drupal.beginner@wechange.org</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hook_form_alter() allows us to change forms according to their form_id:<br><a href="http://api.drupal.org/api/HEAD/function/hook_form_alter">http://api.drupal.org/api/HEAD/function/hook_form_alter</a><br><br>Am I missing something easy, or the only way to figure out what is the form_id
<br>of a specific form is to pour over the code and figure out which module<br>initialized the said form?</blockquote><div><br>Or look into the HTML output. Each HTML form-element has an ID attribute.&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Devel.module doesn't seem to help with that.</blockquote><div><br>It could I suppose. Eg by implementing a hook_form_alter() that stores all the ids Drupal requested to alter and then display that list at the bottom of the page. Or maybe use hook_form_alter() to add a visible form-item (which mentions the form_id) somewhere in the form.
<br>But you're right, at the moment, devel.module has no such feature.<br></div></div><br>Use the source Luke :-)<br><br>Robrecht<br>