From bb2e0250d459f7a60d6d24e38cae944c72110207 Mon Sep 17 00:00:00 2001 From: Robin Sowell Date: Mon, 20 Apr 2009 20:34:57 +0000 Subject: Tweaked form_dropdown to note it requires a multi-item array to trigger the automatic 'multiselect'. --- user_guide/helpers/form_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/helpers') 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".

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:

+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:

$options = array(
                  'small'  => 'Small Shirt',
-- cgit v1.2.3-24-g4f1b