EllisLab/CodeIgniter — pull request #1169 by nihaopaul (2012-03-12 07:20:22+00:00)
Title: so i can continue to use arrays to set forms like this hidden field...

```php
$this->data['user_id'] = array(
'name' => 'user_id',
'id' => 'user_id',
'type' => 'hidden',
'value' => $user->id,
);
```
but with something like this for a drop down..
```php
$this->data['dropdown'] = array(
'name' => 'dropdown[]',
'options' => array(….),
'selected' => $item->selected,
'extra' => array('id' => 'adropdown' … ),
);
```
with the following code in php:
```php
form_better_dropdown($this->data['dropdown']);
```