Posted By

sherakama on 09/10/08


Tagged

form select textmate drupal api drop down 5


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

chrisaiv


Drupal 5 Select Drop Down


 / Published in: PHP
 

  1. $options = array(
  2. 1 => 'Something',
  3. );
  4.  
  5. $form['userList'] = array(
  6. '#type' => 'select',
  7. '#title' => t(''),
  8. '#default_value' => NULL,
  9. '#options' => $options,
  10. '#description' => t(''),
  11. );

Report this snippet  

You need to login to post a comment.