Posted By

batandwacolani on 11/26/11


Tagged

php drupal6


Versions (?)

Drupal 6 Display Form IDs


 / Published in: PHP
 

URL: batandwa.me/node/2

Creates a textbox display all the form IDs of the forms shown on the page. This can be hand when retrieving a form ID to alter a form.

  1. $form['form_id'] = array(
  2. '#type' => 'textfield',
  3. '#title' => 'Form ID',
  4. '#default_value' => $form_id,
  5. '#weight' => 999,
  6. );

Report this snippet  

You need to login to post a comment.