dropdown with multiple |
(07-27-2018, 04:05 AM)Nome Wrote: Thank you, but what is the difference between an example taken from the documentation where the classical array record is used and the reduced record of the array from yours? The array syntax makes no difference and isn't the point. The point is the use of form_multiselect instead fo form_dropdown. Creating an array using the array() language construct, e.g. PHP Code: array('1' => 'First', '2' => 'Second', '3' => 'third', '4' => 'fourth',) PHP Code: ['1' => 'First', '2' => 'Second', '3' => 'third', '4' => 'fourth',] I'm just in the habit of using the short syntax because I like typing less to get the same results. Sorry if that caused confusion. |
Messages In This Thread |
dropdown with multiple - by Nome - 07-22-2018, 01:06 AM
RE: dropdown with multiple - by Pertti - 07-22-2018, 01:46 AM
RE: dropdown with multiple - by Nome - 07-26-2018, 12:26 PM
RE: dropdown with multiple - by dave friend - 07-26-2018, 03:09 PM
RE: dropdown with multiple - by Nome - 07-27-2018, 04:05 AM
RE: dropdown with multiple - by dave friend - 07-27-2018, 05:20 AM
RE: dropdown with multiple - by Nome - 07-29-2018, 10:05 AM
|