diff options
author | Robin Sowell <robin.sowell@ellislab.com> | 2009-04-20 22:34:57 +0200 |
---|---|---|
committer | Robin Sowell <robin.sowell@ellislab.com> | 2009-04-20 22:34:57 +0200 |
commit | bb2e0250d459f7a60d6d24e38cae944c72110207 (patch) | |
tree | bf91fa524d0b3fe71a3190008968d064a2b9710c /user_guide | |
parent | d13f012ad9aeb6e7bfd36bc7898ac421db080e99 (diff) |
Tweaked form_dropdown to note it requires a multi-item array to trigger the automatic 'multiselect'.
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/helpers/form_helper.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index 6f17a6bba..db2551c3e 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -198,7 +198,7 @@ example, you will instead specify "rows" and "cols".</p> <p>Lets you create a standard drop-down field. The first parameter will contain the name of the field, the second parameter will contain an associative array of options, and the third parameter will contain the -value you wish to be selected. You can also pass an array through the third parameter, and CodeIgniter will create a multiple select for you. Example:</p> +value you wish to be selected. You can also pass an array of multiple items through the third parameter, and CodeIgniter will create a multiple select for you. Example:</p> <code>$options = array(<br /> 'small' => 'Small Shirt',<br /> |